Originally posted by jaikiran pai:
When you say that the transaction does not rollback, do you mean to say there are any exceptions thrown or is it that the data that you manipulated in the database is not getting rolled back? If it is the latter, how are you doing the database operation? You should be using a Datasource to do database operations, so that it get involved in the transaction intiated by the container
Originally posted by Harish Verma:
The data manipulated is not rolledback.
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Thomas Taeger:
i hardly dare to ask but: Is AutoCommit set to true anywhere?
![]()
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
The data manipulated is not rolledback
Is this happening because the DAO object is POJO and does not know about the sesison bean's container-initiated transaction
Originally posted by Roger Chung-Wee:
Please post your code and DD.
What server are you using?
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Originally posted by Harish Verma:
when I am not using JDBC transactions, do I still have to bother with setAutoCommit(false)? I thought if you use CMT, you dont have to.
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Hot dog! An advertiser loves us THIS much:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
|