Re: Multiple DaoManagers + transactions

2005-08-11 Thread Louis Letourneau
Actually, you made me reallise that I misread the code. The contextInTransactionList kept in the StandardDaoManager in non-static ThreadLocal. non-static is the keyword here. Which means that each DaoManager will have their instances of the context. But, it also means, that each of DaoManager i

Re: Multiple DaoManagers + transactions

2005-08-11 Thread Prashanth Sukumaran
Hi Louis, Logically it should not. Coz., they are two different instances. Each DAOManger will have their own Connection object when they started respective transactions. So the commit will happen respectively connection objects. Right. For ex., when you say startTransaction() deep inside th

Multiple DaoManagers + transactions

2005-08-11 Thread Louis Letourneau
Hello, I'm trying to understand the problems/issues of using multiple DaoManagers in the same application. Say I have 2 jars: MyApp.jar TheirLib.jar Both use Ibatis DAO. So, somewhere in their initialization, each makes a call to DaoManagerBuilder.buildDaoManager(...) and keeps their DaoManag