Thanks, both, but I'm still unclear on the part where I actually
obtain the transactionManager - do I need to explicitly DI it into the
DaoImpl bean in the context.xml, or am I missing something somewhere?

/Gwyn

On Mon, Jun 8, 2009 at 6:31 PM, Alex Shneyderman<a.shneyder...@gmail.com> wrote:
> take a look at the source code of this class:
>
> http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/test/AbstractTransactionalSpringContextTests.html
>
> it has plenty of clues on how to do this.
>
> Cheers,
> Alex.
>
> On Mon, Jun 8, 2009 at 6:22 PM, Gwyn Evans<gwyn.ev...@gmail.com> wrote:
>> Hi,
>> Does anyone have any guides for adding programmable transactions to a
>> Spring/Ibatis setup?
>>
>> I've got my 'normal' setup using Spring, Ibatis & whatever you get if
>> you don't explicitly configure any transactional behavior.  That's
>> been working fine, but I've got one method that's going to need to do
>> a block of inserts & I'd like to avoid loading them in as single
>> transactions, so I was looking to see what the options might be.  I'm
>> not sure that I'd be able to add AOP support, so was looking at
>> programmable transactions but I've not been able to really work out
>> what's needed in the config.xml and/or the sqlMapConfig.xml order to
>> add them for the one method - can anyone provide some help/pointers,
>> please!
>>
>> /Gwyn
>>
>

Reply via email to