users@glassfish.java.net

Re: java.lang.IllegalStateException for Transaction

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Jul 2008 16:49:15 PDT

Do you use UserTransaction? If not, how do you get a hold of the Transaction instance?

Did you try to use a separate entity for the Audit? If tx commits, it'll flush the changes to the database, if it rolls back, then the audit will be ignored.

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

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