Hi Georgi,

By default all application managed EntityManagers are extended, so you
shouldn't have to do anything.

Are you seeing different behavior with OpenJPA?

-Mike

On Thu, Mar 27, 2008 at 2:40 AM, Georgi Naplatanov <[EMAIL PROTECTED]> wrote:

> Hello, everybody.
>
> How I can change context to "Extended Persistence Context" outside a EJB
> container ?
>
> The example 3.1 of OpenJPA documentation don't compile due the error
>
> "em = factory.createEntityManager(PersistenceContextType.EXTENDED) ;
>
> The method createEntityManager(Map) in the type EntityManagerFactory is
> not applicable for the arguments (PersistenceContextType)"
>
> Best regards
> Georgi
>

Reply via email to