Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2011, 03:33 PM
james@empty-set.net james@empty-set.net is offline
Junior Member
 
Join Date: Sep 2011
Posts: 2
Default Resin, JPA and Hibernate 3.5

Hello - many thanks for making an awesome webapp server.

We are currently in the process of creating a new webapp that depends
on Spring 3 and Hibernate 3.5. We have been using using Resin 3.1.9,
but we have a conflict between JPA version.

We are doing the hibernate bindings using JPA, which, in hibernate
3.5, implies the following dependency:

<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.0.Final</version>

This creates a conflict with ${RESIN_HOME}/lib/jpa-15.jar. I hacked
it by replacing the jpa-15.jar with hibernate-jpa-2.0-api.jar.

This seems to work with out development tests, but it could have
latent side-effects in code paths we're not covering.

Based on the usage of jpa-15.jar in Resin 3.1.9 is this going jam me
up later on?

If it is, then how about upgrading to 4.0.22. I noticed that in Resin
4.0.22 ${RESIN_HOME}/lib/javaee-16.jar contains the JPA classes - are
these based on JPA-1.0 or JPA-2.0?

Thanks for your time.

Best,

James
Reply With Quote
Reply

Tags
hibernate, jpa, resin 3.19, spring 3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:50 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.