For starters you'll need to study the spring docs on AOP.
> Thank you a lot Ashok. I will try.
>
>
> 2007/5/17, Ashok Madhavan <[EMAIL PROTECTED]>:
>>
>> Hi Sergey,
>>
>> If you are using Spring + iBatis, you can go with Declarative
>> transaction
>> supprt provided by spring. Then u dont need to
Thank you a lot Ashok. I will try.
2007/5/17, Ashok Madhavan <[EMAIL PROTECTED]>:
Hi Sergey,
If you are using Spring + iBatis, you can go with Declarative transaction
supprt provided by spring. Then u dont need to do any of the
startTransaction() or endTransaction().
Hi Sergey,
If you are using Spring + iBatis, you can go with Declarative transaction
supprt provided by spring. Then u dont need to do any of the
startTransaction() or endTransaction().
add*=PROPAGATION_REQUIRED
insert*=PROPAGATION_REQUIRED
Mark, thank you a lot for answer.
I want to do something like
try{
sqlMap.startTransaction() ;
sqlMap.insertHeader( headerbean );
sqlMap.insertItems( ListOfItems) ;
sqlMapcommitTransaction() ;
} finally {
sqlMap.endTransaction() ;
}
2007/5/17, Mark Volkmann <[EMAIL PROTECTED]>:
On May 17, 2007, at 10:34 AM, Sergey Livanov wrote:
I use Spring Dao + iBatis and I have to run into the one transaction
inserts order document.
( insert into header values( docpk, docnum, docdate, client ) and
many inserts as insert into( docfk, itempk, good, price, quantity ).
I do not know h
I use Spring Dao + iBatis and I have to run into the one transaction
inserts order document.
( insert into header values( docpk, docnum, docdate, client ) and
many inserts as insert into( docfk, itempk, good, price, quantity ).
I do not know how to create one transaction in the case of spring da