users@glassfish.java.net

Re: entityManager does not persist if obtained through EntityManagerFactory

From: <glassfish_at_javadesktop.org>
Date: Wed, 22 Sep 2010 14:45:50 PDT

EM acquired via Persistence.createEntityManagerFactory is not transactional. Look up EM in instead, and it will be part of the container transaction.

HTH,
-marina
[Message sent by forum member 'mvatkina']

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