-->
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: Need new entitymanager and/or annotations for core 3.2.cr3?
PostPosted: Tue Jul 11, 2006 12:50 am 
Newbie

Joined: Thu Jun 16, 2005 5:21 pm
Posts: 6
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 18, 2006 10:58 am 
Newbie

Joined: Wed Nov 02, 2005 5:20 pm
Posts: 9
I also get same exception when I updated to Core 3.2 cr3


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.