Page 1 of 1

About Question enthuware.oce-jpad.v6.1.344 :

Posted: Sun Mar 18, 2012 4:54 am
by M_Z
I think option D (which is marked as correct) is not completely accurate:

instead:

Code: Select all

../lib/some.jar#xyzPU
it must be:

Code: Select all

[b]../[/b]../lib/some.jar#xyzPU
Please, refer JPA 2.0 Specification, Section 8.2.1.6.3, Example 6

Re: About Question enthuware.oce-jpad.v6.1.344 :

Posted: Sun Mar 18, 2012 4:58 am
by M_Z
It seems that "bold" tag not supported inside "code" tag,

The correct option must read:

../../lib/some.jar#xyzPU

Re: About Question enthuware.oce-jpad.v6.1.344 :

Posted: Mon Mar 19, 2012 6:52 am
by admin
You are right. This has now been fixed.

thank you for your feedback!

Re: About Question enthuware.oce-jpad.v6.1.344 :

Posted: Wed May 30, 2012 3:48 am
by cosminvacaroiu
I don't understand one thing.

The classes in xyzPU defined in mywebapp.war can access xyzPU defined in some.jar.

Means that entities in one PU can access entities in other PU ? Because although it's the same PU name, the PUs are different.

Or when I create/inject an EntityManagerFactory in mywebapp.war I can pass the # syntax PU name to get a EMF for the PU defined in some.jar (instead of mywebapp.war).