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