users@glassfish.java.net

Re: entityManager does not persist if obtained through EntityManagerFactory

From: <glassfish_at_javadesktop.org>
Date: Wed, 22 Sep 2010 04:20:48 PDT

javax.persistence.Persistence is intended for obtaining an EntityManagerFactory in a Java SE context.

The JPA 2.0 spec says that Java EE containers [i]may [/i]but do not [i]have to[/i] support it (JSR-317 section 9.2).

I don't know if Glassfish supports this usage.

Best regards,
Harald
[Message sent by forum member 'hwellmann']

http://forums.java.net/jive/thread.jspa?messageID=483315