posted 20 years ago
Hello friends,
I was trying Container Managed Transactions using a Stateful Session Bean with MS Access as the database.
The session bean executes an insert and update statements on the database table in a business method. At the end of the method, i called setRollbackOnly on the sessioncontext object. It means that the insert and update statements should not be reflected in the database.
But the changes were not rolledback but they were commited.I tried with the transaction attributes Requires and RequiredNew in the DD.
Is this a problem with MS- Access since i heard that Access has an auto commit option. Please shed some light on this.
Cheers,<br />Reghu Ram T<br /> <br />SCJP 1.4 - 98 %, SCBCD 1.3 - 94 %, SCMAD 1.0 - 92 %