ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C Raj <dotnet.roo...@yahoo.co.in>
Subject Transaction session
Date Wed, 09 Aug 2006 07:04:06 GMT
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 
Mime
View raw message