If i had a TransactionBegin followed by 3 method calls which internally had some iBATIS statements within them , will all of them be treated as one transaction ?
 
For example, i have this code :-
 
Mapper.Instance().BeginTransaction();
employee.AddToPDWFTable(employee);
Mapper.Instance().CommitTransaction();
 
The method 'employee.AddToPDWFTable(employee)' in turn has a statement like
Mapper.Instance().Insert("InsertPersonalDetails", employee);
 
Thanks,
CR.

 


Here’s a new way to find what you're looking for - Yahoo! Answers

Reply via email to