This content has been marked as final.
Show 6 replies
-
1. Re: Across the PARs
epbernard Jul 22, 2005 2:58 AM (in response to justinb)You can have a relationship between entities of 2 persistence units by definition of a persistence unit. But you can map an entity in 2 persistence units.
-
2. Re: Across the PARs
epbernard Jul 22, 2005 2:58 AM (in response to justinb)Forget my last post
You can *not* have a relationship between entities of 2 persistence units by definition of a persistence unit. But you can map an entity in 2 persistence units. -
3. Re: Across the PARs
justinb Jul 22, 2005 4:04 AM (in response to justinb)Thank you for your quick response.
But you can map an entity in 2 persistence units.
How do you do this? -
4. Re: Across the PARs
cbax007 Feb 16, 2006 4:43 PM (in response to justinb)I need to do this as well. Has anyone gotten a response on how to map an entity from one PAR into another PAR (aside from just duplicating the class in both PARs)?
-
5. Re: Across the PARs
cbax007 Feb 16, 2006 4:55 PM (in response to justinb)Nevermind. I see that by adding the element to the persistence.xml, you can include persistent entities from other archives.
-
6. Re: Across the PARs
cbax007 Feb 16, 2006 4:55 PM (in response to justinb)The 'class' element. That was left out of the last post.