i want to try CriteriaBuilder for constructing queries.

i am sure i used to generate the canonical metamodel classes automatically by adding a parameter to the persistence.xml but i cannot find anything on the mailing list or in the docs. i have found instructions for generating the classes on the command line https://openjpa.apache.org/builds/2.4.2/apache-openjpa/docs/ch13s04.html and some mentions of using maven on the mailing list. it seems a long winded way of generating the model.

does anyone know how to get them generating automatically in the project?

Reply via email to