users@glassfish.java.net

Re: Persistence Glassfish RESOURCE_LOCAL

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Jul 2009 22:57:55 PDT

Would that special support of the provider for starting a UserTransaction would make any different a call, like em.persist(someEntity), of that RESOURCE_LOCAL EM inbetween the userTransaction.begin() and commit() ? As long as it is RESOURCE_LOCAL it cannot participate to a JTA transaction, as you said earlier.

Maybe a short code sketch would help understand this special provider's case.

Thanks so much Marina, and sorry for asking over and over again.
[Message sent by forum member 'vladbalan' (vladbalan)]

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