users@glassfish.java.net

Re: TopLink: EntityManager.getTransaction() rolls back the transaction

From: <glassfish_at_javadesktop.org>
Date: Tue, 22 Jan 2008 13:41:22 PST

This is done according to the JPA spec (see section 3.1.1): [i]Runtime exceptions thrown by the methods of the EntityManager interface will cause the current transaction to be rolled back.[/i]

Can you have a flag instead that points to the way you create EM/EMF?

thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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