Thanks for your help. You diagnosed the problem correctly.
I was calling commit() on the connection whose autocommit property was set to true.
But I still have doubts regarding different application servers behaving differently for
that same code(Is it so that only jboss checks the autocommit property?).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135258#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...