openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste BRIAUD -- Novlog <>
Subject Enhance : clarification needed
Date Thu, 12 Aug 2010 11:07:11 GMT

I'm using Enhance for a while now, but still have questions :

* Why do enhance need persistence.xml, no DB connection should be done during enhance, right

* Why enhance allow/need to specify .java files, only .class are enhance, and .class must
be there before enhancement, right ?

* Why enhance allow/need to specify the files to enhance, aren't they already in the persistence.xml

* The complete total absolute list of possible option for the enhancer, especially the ant
callable version.
I just notice from
That the following option was possible :
    <config propertiesFile="./META-INF/persistence.xml"/>
    <fileset dir=".">
    <include name="**/com/ibm/persistence/ejb3/order/entity/*.java" />

So specifying the persistence.xml location is possible and it might be outside META-INF ?
So, specifying all the java (?) file to enhance is possible.

Any other option (like the persistence unit to use) ?

Thanks !
View raw message