ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Waterman" <lance.water...@gmail.com>
Subject Re: axis2-war
Date Fri, 26 Jan 2007 21:19:08 GMT
I did see a persistence.derby.xml file in that project but it defines ...

<persistence-unit name="ode-unit-test-embedded">

so I was a bit lost on how that maps back to
Persistence.createEntityManagerFactory ("ode-dao", propMap).

I'll keep poking at it. Thanks!

Lance

On 1/25/07, Matthieu Riou <matthieu.riou@gmail.com> wrote:
>
> 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