Query regarding iBatis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a doubt in iBatis, hope you can help me out.

If I use a executeBatchDetailed, the API says "sub-batch is created by adding a statement to the batch that does not equal the prior statement". Does it means that when i add different queries (lets say insert in two different tables) in same batch, it will create two batches and execute them in seperate transaction. I believe that every preparedStatement uses a new transaction and hence there no way that I can execute inserts of two table in same transaction unless I use manual transactions.

Please help me out.

Vikram

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux