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