-->
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: EntityManager and Hibernate Archive
PostPosted: Tue Jul 22, 2008 9:04 am 
Newbie

Joined: Thu Jun 05, 2008 8:43 am
Posts: 1
I have two applications that I need to deploy, where both share the same hibernate entities. I have been looking into generating a HAR file and distributing with both my applications, inside each EAR.

The HAR file is generated correctly and loaded by hibernate, as per JBoss' log files, however I can't quite figure out how to setup my persistence.xml file to use the configuration from the HAR file. I have looked at a few different tutorials and not one had an example of using the HAR file with JPA.

I am running out of ideas at this point and even considering maintaining two sets of hibernate configuration files. I would appreciate any suggestions.

We are using Hibernate v3.2.4.sp1, EntityManager v3.2.1 with MySQL v5.0 and JBoss v4.2.2


Thank you in advance,
RogerC


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 23, 2008 1:53 pm 
Newbie

Joined: Sun Nov 20, 2005 9:32 am
Posts: 2
Very good and very valid question!! I have the exact same issue!!

-Kimba


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.