there is a default one so you don't need if you use this one

the constraint is the same as for bean validation, jaxrs...if you want
another provider just shout specifying it

*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/2/22 James Green <[email protected]>

> On a similar note, why must an app specify in persistence.xml which JPA
> provider to use?
>
> It doesn't specify which JAX-RS provider to use...
>
>
>
> On 22 February 2013 13:47, Romain Manni-Bucau <[email protected]>
> wrote:
>
> > Hi,
> >
> > good need: https://issues.apache.org/jira/browse/TOMEE-779
> >
> > *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/2/22 Lazar Kirchev <[email protected]>
> >
> > > Hello,
> > >
> > > I would like to set eclipselink as the default persistence provider in
> > > TomEE (which is done through system properties as I read in the
> > > documentation), but still want to allow the applications to use other
> > > providers (e.g. hibernate).
> > > Is this possible? I see in the code that if the application specifies a
> > > persistence provider in its persistence.xml, this is overriden by the
> > value
> > > of the system property, if one is set.
> > >
> > > Regars,
> > > Lazar
> > >
> >
>

Reply via email to