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 <[EMAIL PROTECTED]> 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
>
>
>

Reply via email to