-->
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.  [ 1 post ] 
Author Message
 Post subject: Using a JPA enabled app with another JPA enabled app
PostPosted: Thu Nov 01, 2012 2:42 pm 
Newbie

Joined: Wed Oct 20, 2010 11:22 am
Posts: 14
Kinda new with hibernate and trying to figure out how best to use it.

I have an application (APPL_A) that is in a JAR. It has its own persistence.xml file and works great.

I now have the need to build another application that will use functionality in APPL_A. I will be setting up this new application as a JAR also with its own persistence.xml file.

It seems this should be allowed so that you can construct modular components that can be called (that are self-contained with appropriate JPA plumbing).

This seems not to work because I believe its loading up the persistence.xml file in the new application only.

Has anyone else tried this and got it working?

Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.