Hi,

Try this:

try {
daoManager.startTransaction();
....
//Delete
//Insert
...
daoManager.endTransaction();
} finally {
daoManager.endTransaction();
}

Best,
Aram

-----Original Message-----
From: Bing Lu [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 18, 2006 1:24 AM
To: [email protected]
Subject: transaction help please

Hi, how do I do a delete&insert operation in one
transaction in ibatis? do I need to specify anything
in the transactionManager for this?

thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to