
Date Updated:
Thu, 2018-08-23 15:11
Date Created:
Tue, 2015-02-10 03:41
Submitted by:
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 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