-->
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: Will Hibernate OGM 4.1.1 work with JPA2.0?
PostPosted: Thu Jan 15, 2015 6:39 pm 
Newbie

Joined: Wed Jan 14, 2015 12:40 am
Posts: 2
Will Hibernate OGM 4.1.1 work with JPA2.0?
I understand version 4.1.1 is dependent on JPA2.1, but our application server (Weblogic 10.3.4) supports only up to JPA2.0 and cannot be upgraded at present.

Thanks,
Abhishek


Top
 Profile  
 
 Post subject: Re: Will Hibernate OGM 4.1.1 work with JPA2.0?
PostPosted: Fri Jan 16, 2015 4:08 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Hi,

Hibernate OGM 4.1.x is based on Hibernate ORM 4.3 which in turn implements JPA 2.1. You might try to package OGM + ORM + JPA 2.1 as part of your deployment unit; It might work if your server has some setting to give classes of an application-provided JPA implementation precedence over the implementation coming with the container.

--Gnnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
 Post subject: Re: Will Hibernate OGM 4.1.1 work with JPA2.0?
PostPosted: Fri Jan 16, 2015 5:19 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
You can give it a try as Gunnar mentions but I am less hopeful it will work. I suspect Weblo will yell at you for messing with its JPA 2.0 JARs.

_________________
Emmanuel


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.