You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vikram Jain <vi...@gmail.com> on 2011/06/17 09:54:20 UTC

[users@httpd] Query regarding iBatis

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

Re: [users@httpd] Query regarding iBatis

Posted by Vikram Jain <vi...@gmail.com>.
Thanks

On Fri, Jun 17, 2011 at 2:09 PM, Björn Zettergren <
bjorn.zettergren@basefarm.se> wrote:

> On 06/17/2011 09:54 AM, Vikram Jain wrote:
>
>> Hi,
>>
>> I have a doubt in iBatis, hope you can help me out.
>>
>
> You have reached the apache httpd user mailinglist. I suspect you will be
> able to find a more suitable mailinglist for your question at
> http://www.mybatis.org.
>
> Good luck.
>
> /Björn Zettergren
>
> ------------------------------**------------------------------**---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/**userslist.html<http://httpd.apache.org/userslist.html>>
> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.**apache.org<us...@httpd.apache.org>
>  "   from the digest: users-digest-unsubscribe@**httpd.apache.org<us...@httpd.apache.org>
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Query regarding iBatis

Posted by Björn Zettergren <bj...@basefarm.se>.
On 06/17/2011 09:54 AM, Vikram Jain wrote:
> Hi,
>
> I have a doubt in iBatis, hope you can help me out.

You have reached the apache httpd user mailinglist. I suspect you will 
be able to find a more suitable mailinglist for your question at 
http://www.mybatis.org.

Good luck.

/Björn Zettergren

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org