How generate the SQL queries that match the JPA Entity CRUD operations at build time with Hibernate
- by aravisski
Given JPA annotated Entities, is it possible to generate (i.e. before runtime) the list of queries that will be performed by Hibernate for CRUD operations (performed against EntityManager) ?
For named queries it is possible using org.hibernate.hql.QueryTranslator
Any pointer into the Hibernate API will be appreciated.