Hi Georgi, Oops, don't know where that came from. It's a bug in the example code.
Outside the container environment, all you can use is extended persistence context, so there's no use for the flag.
Could you please file a JIRA so we notify you once it's been fixed? Thanks.
Craig On Mar 27, 2008, at 12:40 AM, Georgi Naplatanov wrote:
Hello, everybody.How I can change context to "Extended Persistence Context" outside a EJBcontainer ? 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 isnot applicable for the arguments (PersistenceContextType)" Best regards Georgi
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
