Re: Spring & iBatis question

2007-05-17 Thread rusty
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

Re: Spring & iBatis question

2007-05-17 Thread Sergey Livanov
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().

Re: Spring & iBatis question

2007-05-17 Thread Ashok Madhavan
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

Re: Spring & iBatis question

2007-05-17 Thread Sergey Livanov
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]>:

Re: Spring & iBatis question

2007-05-17 Thread Mark Volkmann
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

Spring & iBatis question

2007-05-17 Thread Sergey Livanov
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