ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg D Bolinger <gthou...@gmail.com>
Subject Re: iBatis DAO Transaction Batch Default
Date Sun, 08 May 2005 05:20:42 GMT
I'll take a look at that. Thanks a lot.

Gregg

On 5/7/05, Clinton Begin <clinton.begin@gmail.com> wrote:
> 
>  Here's the cool thing....you can write your own DAO transaction
> implementation.  I'm assuming you're using SQL Maps.  If so, just copy the
> SQL Map transaction implementation from the DAO framework into your own
> package name.  Then, add startBatch() and endBatch() to the constructor and
> commit methods respectively.
>  
>  Then in your DAO config file, just use your own tx manager implementation
> name:
>  
>  <transactionManager
> type="your.package.and.TXMgrImplementation">
>  
>  Cheers,
>  Clinton
> 
>  
> 
> On 5/4/05, Gregg D Bolinger <gthought@gmail.com> wrote:
> > Why doesn't iBatis DAOManager transactions batch by default?  Wouldn't
> > it make more sense?  It sure would solve a lot of problems for me.
> > 
> 
>

Mime
View raw message