Is there any way to turn on a more detailed trace for the parsing of named queries under the EntityManager?
Right now with the GA version 3.2 of Hibernate, Annotations, and EnityManager running on Glassfish I merely get an exception that says "Errors in named Queries" with no more specificity.
log4j:WARN Please initialize the log4j system properly.
org.hibernate.HibernateException: Errors in named queries: Enamel.findAll
javax.persistence.PersistenceException: org.hibernate.HibernateException: Errors in named queries: Enamel.findAll
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
at com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:195)
at com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:91)
at com.sun.enterprise.server.AbstractLoader.loadPersistenceUnits(AbstractLoader.java:849)
|