Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
I recently upgraded to Hibernate 3.2.0CR4 and Annotations 3.2.0CR1.
Now an application that previously worked gets the following error.
INFO: Configured SessionFactory: null
Sep 2, 2006 12:09:55 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: sjb.hibernate.Customer
Exception in thread "main" 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.buildSessionFactory(Configuration.java:1210)
at sjb.db.hibernate.HibernateHelper.getSessionFactory(HibernateHelper.java:67)
Are these two releases incompatible or have I messed up? Thanks.
Steve