yep

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/6/12 John D. Ament <[email protected]>

> Right, so the container needs to read persistence.xml, turn it into
> PersistenceUnitInfo and pass to the provider.
>
>
> On Wed, Jun 12, 2013 at 11:43 AM, Romain Manni-Bucau
> <[email protected]>wrote:
>
> > no, in JavaEE it has the PersistenceUnitInfo which contains this info
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/6/12 John D. Ament <[email protected]>
> >
> > > But isn't it first the container that needs to find persistence.xml,
> > since
> > > it needs to instantiate the provider?  Don't you really have to pass in
> > all
> > > of this config to the provider?  For some reason I recall the provider
> > > being blind to the location of persistence.xml, other than by
> > configuration
> > > (since in SE the provider is configured to read a persistence.xml)
> > >
> > > John
> > >
> > >
> > > On Wed, Jun 12, 2013 at 11:31 AM, Romain Manni-Bucau
> > > <[email protected]>wrote:
> > >
> > > > so it was right, the point is what do the providers, seems they use
> the
> > > > webapp dir by default
> > > >
> > > > *Romain Manni-Bucau*
> > > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> > > > *Blog: **http://rmannibucau.wordpress.com/*<
> > > > http://rmannibucau.wordpress.com/>
> > > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > > *Github: https://github.com/rmannibucau*
> > > >
> > > >
> > > >
> > > > 2013/6/12 daedalus <[email protected]>
> > > >
> > > > > Quote from the JPA 2.0 Spec Page 310:
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> http://download.oracle.com/otndocs/jcp/persistence-2.0-fr-eval-oth-JSpec/
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > > >
> > >
> >
> http://openejb.979440.n4.nabble.com/Problem-with-Entities-in-jars-tp4663695p4663723.html
> > > > > Sent from the OpenEJB User mailing list archive at Nabble.com.
> > > > >
> > > >
> > >
> >
>

Reply via email to