Is this based on observations, or potentially-misleading docs?
Whenever you are obtaining an EntityManager or EntityManagerFactory
via injection or JNDI lookup (i.e., when the container is doing the
lifecycle management), enhancement should happen automatically at
deploy time.

-Patrick

On Jan 23, 2008 10:57 AM, Miroslav Nachev <[EMAIL PROTECTED]> wrote:
> Because when I start OpenJPA with "-javaagent" VM parameter I have more
> features and the speed is better.
>
>
> Miro.
>
>
> On 1/23/08, Patrick Linskey <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > Currently, there is no way to do that; OpenJPA always registers a
> > ClassTransformer when running in a Java EE container.
> >
> > Why do you want that behavior?
> >
> > -Patrick
> >
> > On Jan 23, 2008 9:55 AM, Miroslav Nachev <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > How can force OpenJPA to be in Enhancement runtime when is running in
> > > GlassFish environment?
> > >
> > >
> > > Regards,
> > > Miro.
> > >
> >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
>



-- 
Patrick Linskey
202 669 5907

Reply via email to