-->
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: Bug in Hibernate EntityManager 3.1beta7 ?
PostPosted: Wed Apr 12, 2006 9:40 am 
Newbie

Joined: Tue Apr 11, 2006 3:34 pm
Posts: 2
I looked into the contents of ejb-persistence.jar - there is a javax.persistence.SqlResultSetMapping class but there is no javax.persistence.SqlResultSetMappings.

Quote:
java.lang.NoClassDefFoundError: javax/persistence/SqlResultSetMappings
at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:191)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:348)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:295)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:216)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1001)
at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:840)
at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:161)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:624)
at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:126)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:180)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:110)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 17, 2006 8:49 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Please upgrade all the jars when you change you HEM bversion, namely ejb3-persistence.jar and hibernat annotations in your case

_________________
Emmanuel


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.