ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijayababu K (HCL Financial Services)" <Vijayabab...@hcl.in>
Subject rollback - Spring-iBATIS
Date Thu, 14 Jun 2007 06:29:40 GMT



Hi All,


    We are using Spring_iBATIS ,for our application and JBoss  as
Application server.For this we need to configure JTA for connection

  In this situation is there any way to handle rollback() externally by
getting Connection or Transaction objects.


   Right now we are using,

   sqlMap.startTransaction (), sqlMap.commitTransaction () in try {...}
block   and sqlMap.endTransaction () in finally {...} block;

  According to the Documentation , 

  sqlMap.endTransaction(); rollbacks if necessary, But in one situation
it is not rolling back.


  Can you tell us how this rollback() works exactly.

  Can I get the Transaction object externally, so that I can commit and

  But I read iBATIS will not support rollingback externally. 


 Please tell us how to check the status of rollback.


  Eagerly, waiting for your response.








Thanks & Regards,


K . Vijaya Babu  | HCL Technologies Ltd. | The Leela Galleria |
Commercial Block | 6th Floor | #23 | Airport Road | 

Bangalore - 560008 | Mobile:09986062986 | Ext:080-25054045.




The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have 
received this email in error please delete it and notify the sender immediately. Before opening
any mail and 
attachments please check them for viruses and defect.

View raw message