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