I am using the following:
* MySQL JDBC driver 3.0.9
* JOTM Transaction Manager
* Enhydra StandardXADataSource
I was expecting the JDBC connections to auto enlist with the transaction
manager if the thread is in a transaction.
Txn.begin();
Java.sql.Connection conn = ...
Txn.rollback();
I noticed that the connection returned has the auto commit turned on
(true) and hence all inserts on the connection are auto committed. Do I
need to explicitly register the JDBC connections with the transaction
manager?
Thanks,
Suresh