On 10 août 2010, at 17:19, Rick Curtis wrote:

>> Where is the persistent.xml file ?
> It needs be in bin/META-INF.
> 

bin is managed by Eclipse : src/META-INF should be OK if I manage to have only 
one persistence.xml file.

>> I used to have several persistent.xml files : one for build-time enhancing
> and another slightly different one as runtime-time config. How can I manage
> that ?
> I'd think you could get away with a single persistence.xml file but with two
> different persistence units. One for the buildtime enhancement and the other
> to be used at runtime.

Very good idea, but how to tell openjpac with persistence unit to use ??

> 
> Thanks,
> Rick
> 
> On Tue, Aug 10, 2010 at 9:55 AM, Jean-Baptiste BRIAUD -- Novlog <
> j-b.bri...@novlog.com> wrote:
> 
>> Hi,
>> 
>> I'm trying to set an OpenJPA project with Eclipse (I'm currently using
>> IntelliJ).
>> 
>> I checked that page :
>> http://openjpa.apache.org/enhancement-with-eclipse.html
>> and decided to go with custom Ant builder.
>> 
>> Where is the persistent.xml file ?
>> Unfortunately, the file is not mentioned in the example gray zone.
>> 
>> I used to have several persistent.xml files : one for build-time enhancing
>> and another slightly different one as runtime-time config.
>> How can I manage that ?
>> 
>> 
>> Thanks !

Reply via email to