Flush() should cause all database based exceptions to be raised before the transaction commit code. What exception are you seeing as the cause of the RollbackException.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]
http://forums.java.net/jive/thread.jspa?messageID=260481