Wednesday, 14 February 2007

JBoss Transaction Rollback

When creating your own Exception in JBoss, it is important to remember that the default @ApplicationException's rollback field is FALSE. You don't want to assume that it is true, and sometime down the road you find out that transactions are not rolled back when this Exception is thrown. See: "Transaction rollback" section on http://trailblazer.demo.jboss.com/EJB3Trail/services/transaction/
blog comments powered by Disqus