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.
>
|