You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by "Vijayababu K (HCL Financial Services)" <Vi...@hcl.in> on 2007/06/14 08:29:40 UTC
rollback - Spring-iBATIS
Hi All,
We are using Spring_iBATIS ,for our application and JBoss as
Application server.For this we need to configure JTA for connection
pooling,
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
rollback.
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.
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------------------------------------------------