In
JBOSS,
I tried out a
test program of executing 2 statements in different DB connections(using Connection Pool to Mysql) under Container Managed Transaction control.
First, I did not close the DB Connections. CMT committed the different DB Connection Statement execution with exception
Closing a connection for you. Please close them yourself.
So, manually closed the two connections. Even after the connection closure, Container manages to commit the transaction.
Please give some pointers in this.