| Author |
Transactions with MS - Access ?
|
Reghu Ram Thanumalayan
Ranch Hand
Joined: Oct 21, 2003
Posts: 193
|
|
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 %
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
MS Access is not part of the SCBCD exam. I'm moving this thread to the EJB forum. Please continue this discussion there. Thank you
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
 |
|
|
subject: Transactions with MS - Access ?
|
|
|