ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <lmead...@apache.org>
Subject Re: Insertion into multiple tables in a transaction
Date Mon, 12 Dec 2005 16:11:37 GMT
The recommended way is with a transaction. It is covered in the user's guide.

http://ibatis.apache.org/downloads.html

Larry

On 12/12/05, John Chien <john.chien@ncmail.net> wrote:
> 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