How generate the SQL queries that match the JPA Entity CRUD operations at build time with Hibernate
        Posted  
        
            by aravisski
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by aravisski
        
        
        
        Published on 2010-03-22T17:25:42Z
        Indexed on 
            2010/03/22
            17:31 UTC
        
        
        Read the original article
        Hit count: 355
        
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.
© Stack Overflow or respective owner