Generating OpenJPA canonical metamodel with Maven

OpenJPA 2.x provides the CriteriaQuery API, which allows you to write strongly typed queries.

To make this complete, a metamodel needs to be generated from your annotated persistent classes. To do that, OpenJPA provides an annotation processor.

Taming JavaCC

JavaCC is a parser generator, or compiler compiler. More precisely, it can generate both a scanner and a parser for a specified grammar.

JavaCC might not be the easiest tool to learn, but it has several advantages over the concurrent:

Subscribe to Pi Solutions RSS