-->
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: No interoperability with JAX-WS RI (aka Jersey)
PostPosted: Fri May 16, 2008 5:05 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
Hibernate EntityManager uses ASM 2.2.3 for byte code manipulation.

JAX-RS is the new upcoming spec for RESTful Web Services. The reference implementation of JAX-RS can be found at https://jersey.dev.java.net

Now the bad news: Jersey (as of May 2nd) is using ASM 3.1, and these two versions of ASM are not compatible...

Are there any plans to upgrade Hibernate EntityManager to ASM 3.1 ? Any hint or comment is highly appreciated!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 3:05 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

A discussion regarding this issue and how to move forward has already started on the Hibernate Dev List. The plan is definitely to remove the dependencies to ASM 2.x. In question is how and the time plan.

--Hardy


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 20, 2008 5:18 am 
Regular
Regular

Joined: Tue May 24, 2005 9:06 am
Posts: 64
I got it working by setting hibernate.bytecode.provider=javassist in hibernate.properties.

There seems to be a bug in Hibernate EntityManager so that this property cannot be specified in META-INF/persistence.xml


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.