can anyone tell me what the scope of a transaction is?
-----
try {
//execute sql
int ret = insert(...);
if (ret>0) {
//execute some other sql
update(...);
}
}
catch {
//catch errors
}
-----
in the above scenario, are there 2 transactions (1 for insert, 1 for
update)..? or is it considered 1 transaction within a try-catch? if i am
using an external transactionmanager, where does the commit come in? i don't
have anything in my EJB that controls transactions. In this case, how is
iBATIS handling the commits?
--
View this message in context:
http://www.nabble.com/Transaction-Performance-Issue-tp16583884p16739287.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.