This content has been marked as final.
Show 4 replies
-
1. Re: Getting reference on Persistence Unit
andydale Nov 30, 2006 2:57 AM (in response to straiver)How are you deploying the jar files, in a single ear, or as 2 seperate jar files in the deploy directory ?
Andy -
2. Re: Getting reference on Persistence Unit
straiver Nov 30, 2006 4:36 AM (in response to straiver)as 2 seperate jar files
-
3. Re: Getting reference on Persistence Unit
andydale Nov 30, 2006 5:01 AM (in response to straiver)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.
Andy -
4. Re: Getting reference on Persistence Unit
straiver Dec 4, 2006 9:21 AM (in response to straiver)thanks