users@glassfish.java.net

Re: quintessential JPA operation

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Mar 2007 15:05:21 PST

Yes, you might want to have try-catch around tx.rollback with logging the exception - ther shouldn't be any, so if there is one, at least you'll have a record to follow up on it.

There is no need to catch a Throwable either.

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

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