[jboss-user] [EJB 3.0] - Re: Getting reference on Persistence Unit

andydale do-not-reply at jboss.com
Thu Nov 30 05:01:37 EST 2006

I am assuming that the DAO has some kind of persistence.xml where you specify the persistence unit.  Why not deploy both jars within a single .ear archive, and then have the persistence.xml in a lib directory in the base level of the archive, this will allow both jar's to use the same persistence unit.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989974#3989974

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989974

More information about the jboss-user mailing list