-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate 3.2.0CR4 and Annotations 3.2.0.CR1 unhappy togethe
PostPosted: Sat Sep 02, 2006 12:21 pm 
Newbie

Joined: Wed Aug 11, 2004 11:41 am
Posts: 14
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


Top
 Profile  
 
 Post subject: Re: Hibernate 3.2.0CR4 and Annotations 3.2.0.CR1 unhappy tog
PostPosted: Sat Sep 02, 2006 1:21 pm 
Newbie

Joined: Wed Jun 30, 2004 2:02 am
Posts: 13
sburoff wrote:

Are these two releases incompatible or have I messed up? Thanks.

Steve


They're incompatible -- classes have been renamed and/or moved during the release candidate process.

anders


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.