ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Chien <john.ch...@ncmail.net>
Subject Insertion into multiple tables in a transaction
Date Mon, 12 Dec 2005 15:38:46 GMT
Dear Sir:

I need to do the insertion into multiple tables. (Suppose A, B. C)
The insertion of multiple tables is considered as a tranaction.
Any of the insertion fails, the transaction is considered failed.
When the transaction fails, any successful insertion will need to be
rolled back.

What is the recommended way to do it in Java/Ibatis ?


Thanks,

John Chien

Mime
View raw message