If I remember correctly the persistence.xml is packaged in the jar produced
by dao-jpa-ojpa. As it's a dependency of ojpa-derby, OpenJPA finds it
automagically from the classpath.

Matthieu

On 1/25/07, Lance Waterman <[EMAIL PROTECTED]> wrote:

Matthieu,

I took a look at how you set up the ojpa-derby build for the axis2-war (
per
Maciej's suggestion for the bpel-test module ) and was able to follow the
majority of it. I'm a bit lost on how the "persistent.xml" file is picked
up
by the EntityManger. I would expect to find a persistent.xml file that
defines "ode-dao" per the BPELDAOConnectionFactoryImpl.init() ...

        _emf = Persistence.createEntityManagerFactory("ode-dao", propMap);

I don't see a persistent.xml file defined in the project?

Thanks in advance,

Lance

Reply via email to