Never write glue code for @NamedQueries or @NamedNativeQueries yourself again.
The anqu method plug-in generates Java code to access @NamedQueries providing a compiler checked, typed, and implemented API for every @NamedQuery or @NamedNativeQuery in a few mouse clicks. JUnit tests can be generated as well to make sure the generated methods still fit the query.
This short (<80secs) video gives an impression.
New in February 2019
- Minor bugfixes in auto-completion
New with anqu 1.6.1: JPA 2.2 support
- Generation of getResultStream() code
- Repeatable annotation generation
- Removing the generated code only - keeping the query
Other features:
- Creating the required annotation(s)
- Derive statements from query names - no need to write the query yourself in many cases!
- Generate methods with additional pagination parameters
- Creating Mock Utility classes for mockito unit testing
- Removing a query and the code generated from it
- Code generation for Spring Data JPA and Apache DeltaSpike Data
Categories: Application Development Frameworks, Database Development, Database Persistence, IDE, Other
Tags: anqu, anqumethod, anqu-method, method, jpa, java, query, named query, namedquery, namedqueries, persistence, anqu method, named, native, annotation, hibernate, spring, pattern, jee, namednativequery, named native query, database, sql, jpql, code generation, code, completion, generation
Additional Details
Eclipse Versions: 2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: Mario Vöhl
Development Status: Production/Stable
Date Created: Tuesday, February 10, 2015 - 03:41
License: Other
Date Updated: Thursday, October 6, 2022 - 05:30
Submitted by: Mario Voehl
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
March 2024 | 0/0 | 0 | 4 |
February 2024 | 506/687 | 6 | 7 |
January 2024 | 0/0 | 0 | 13 |
December 2023 | 632/671 | 1 | 5 |
November 2023 | 668/686 | 1 | 8 |
October 2023 | 0/0 | 0 | 13 |
September 2023 | 641/663 | 1 | 9 |
August 2023 | 610/673 | 2 | 5 |
July 2023 | 0/0 | 0 | 7 |
June 2023 | 0/0 | 0 | 4 |
May 2023 | 606/671 | 2 | 5 |
April 2023 | 603/667 | 2 | 5 |