In your main() method, try catching java.lang.UnsupportedOperationException and print the stack trace as well as its message to see if you can glean any more information about the error.
Joined: Sep 12, 2008
I am not worried about exception. I am throwing it explicitly from code. My question is , how do I know if transaction is configured properly. as my console output does not give me any indication.
Joined: Jun 01, 2010
Try running a test where the transaction succeeds and see that the data is written to the database. Then try a test where the transaction is supposed to roll back and see that the data is not written to the database.