I tried using the July 6th 3.2.0.CR3 release of core in my EJB3 application and got the exception below. Do we need a new EntityManager and/or Annotations release (I don't see a refresh posted for them)?
I don't get this exception with:
2006-07-10 21:40:00,566 INFO - Hibernate EntityManager 3.2.0.CR1
2006-07-10 21:40:00,597 INFO - Hibernate Annotations 3.2.0.CR1
2006-07-10 21:40:00,597 INFO - Hibernate 3.2 cr2
All I changed was to drop in the 3.2.0.cr3 release.
Thanks,
Olli
===
Caused by: java.lang.NoClassDefFoundError: org/hibernate/loader/custom/SQLQueryReturn
at org.hibernate.cfg.annotations.QueryBinder.bindSqlResultsetMapping(QueryBinder.java:293)
at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:238)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:403)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:353)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:265)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1039)
at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1015)
at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:751)
at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205)
at com.XXX.persistence.ejb3.EJB3PersistenceUtils.buildEntityManagerFactory(EJB3PersistenceUtils.java:138)
... 25 more
|