Quantcast
Viewing latest article 4
Browse Latest Browse All 14

anqu method

Image may be NSFW.
Clik here to view.
Date Created: 
Tue, 2015-02-10 03:41
Date Updated: 
Fri, 2021-01-15 10:14
Mario Vöhl

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

Viewing latest article 4
Browse Latest Browse All 14

Trending Articles