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

Moderator: admin

Post Reply
johnlong
Posts: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

JPA Specification provides the following example :

Code: Select all

app.ear
     war2.war
             WEB-INF/lib/warEntities.jar 
             WEB-INF/classes/META-INF/persistence.xml
persistence.xml contains: <jar-file>lib/warEntities.jar</jar-file>

If root of PU is indeed WEB-INF/classes/ then should not persistence.xml contain :
<jar-file>../lib/warEntities.jar</jar-file>

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Not sure if it is relevant to this question but why do you think so?
If you like our products and services, please help us by posting your review here.

johnlong
Posts: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

Because if currently we are located in WEB-INF/classes/, we would need to go one directory up to reach WEB-INF, and then from WEB-INF navigate to lib/warEntities.jar

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

That sounds logical.
If you like our products and services, please help us by posting your review here.

johnlong
Posts: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

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

Post by johnlong »

I have to say that it is not the only example, there are couple of such examples.
Is it mistake?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Probably. I guess you will need to check with the specification authors :)
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests