This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes How to reference to a persistence unit in another jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to reference to a persistence unit in another jar" Watch "How to reference to a persistence unit in another jar" New topic
Author

How to reference to a persistence unit in another jar

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Hey,

I have 2 ejb jars.
They both contain DAO's.

How do inject a persistence unit from jar A to DAO in jar B?

Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to reference to a persistence unit in another jar
 
Similar Threads
How to Configuring mysql db with JPA aplication?
Persistence Unit Scoping
Named Queries in Persistence Archive Possible?
Persistent Unit at EAR level
Can't reach NamedQuery