File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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
Persistence Unit Scoping
Named Queries in Persistence Archive Possible?
Persistent Unit at EAR level
Can't reach NamedQuery
How to Configuring mysql db with JPA aplication?