Thanks. As long as I know it's a current feature I'm happy to add the
names to the lookups. The names aren't really all that hard to
remember either, so I'll just include it in my documentation for now,
that you need to put the name there, which would equal the project
name with a -PU. So far we do
We don't have that functionality now. As far as I know, the "unit
nameless" persistence ref only works when there is one unit in the
entire application. This is actually one of the things I wanted to
fix for Java EE 6 -- that there is no way to specify the default when
more than one unit
Hey,
If I have 2 jars, each with it's own persistence unit. Each of them
have entities and EJBs. Lets say it has the following setup:
KMSPlatform-ejb.jar has KMSPlatform-PU and SiteBean
KMS-Personnel-ejb.jar has KMS-Personnel-PU and PersonnelBean
So both Jars have an:
@PersistenceContext private