-->
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.  [ 3 posts ] 
Author Message
 Post subject: NoSuchMethodError: EntityManager getEntityManager() Why?
PostPosted: Sun Apr 02, 2006 9:41 am 
Newbie

Joined: Sun Apr 02, 2006 9:36 am
Posts: 2
spring jpa use hibernate-entitymanager-3.1beta7

java.lang.NoSuchMethodError: javax.persistence.EntityManagerFactory.getEntityManager()Ljavax/persistence/EntityManager;


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 02, 2006 2:17 pm 
Newbie

Joined: Fri Aug 13, 2004 12:49 pm
Posts: 10
The getEntityManager method on EntityManagerFactory has been dropped from the spec. If you are using Spring's JPA support with the latest Hibernate EntityManager 3.1beta7 then you need to get the Spring JPA support from CVS or wait for the M4 release which is due out soon.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 02, 2006 5:53 pm 
Newbie

Joined: Fri Aug 13, 2004 12:49 pm
Posts: 10
Forgot to mention you can download the most recent nightly snapshot as well - spring-framework-2.0-m4-with-dependencies-build.448-20060324.zip works with the latest Hibernate EntityManager.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.