isn't this what JTA is for?
On Tue, 18 Jan 2005 16:30:17 +0100 (CET), Andy Light (JIRA) <ibatis-dev@incubator.apache.org> wrote: > Shared data sources > ------------------- > > Key: IBATIS-52 > URL: http://issues.apache.org/jira/browse/IBATIS-52 > Project: iBatis for Java > Type: Improvement > Components: DAO > Versions: 2.0.9 > Reporter: Andy Light > > If I want to use both JDBC transaction manager and SqlMap transaction manager > for one database, I have to create two separate contexts for them. It means > that transaction managers will create two data sources and there will be two > connection pools. Therefore clients from one context are unable to > participate in transaction from another context, e.g. connection 1 cannot see > changes made by connection 2 until connection 2 commits and vice versa. I > have two different transactions after daoManager.startTransaction() called > and see no way to have one. > > Is it possible to define a single "super"-data source outside contexts, give > him an alias and reuse it? > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > If you want more information on JIRA, or have a bug to report see: > http://www.atlassian.com/software/jira > >