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/

Friday 2 February 2007

Oracle, Java 5, and BigDecimal

Be careful when you are using Oracle and Java 5: http://www.javalobby.org/java/forums/t88158.html
BigDecimal toString() difference in Java 1.4 and Java 5: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6298816
Share |