ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matthieu.r...@gmail.com>
Subject Re: axis2-war
Date Fri, 26 Jan 2007 06:22:12 GMT
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 <lance.waterman@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message