ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mkhitaryan, Aram" <Aram.Mkhitar...@lycos-europe.com>
Subject RE: transaction help please
Date Tue, 18 Jul 2006 04:29:57 GMT
Hi,

Try this:

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

Best,
Aram

-----Original Message-----
From: Bing Lu [mailto:mfcplus@yahoo.com] 
Sent: Tuesday, July 18, 2006 1:24 AM
To: user-java@ibatis.apache.org
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 
Mime
View raw message