commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Hamid (JIRA)" <>
Subject [jira] [Commented] (DBCP-361) BasicManagedDataSource optional transaction enlistment
Date Mon, 16 May 2011 22:05:47 GMT


Aaron Hamid commented on DBCP-361:

I don't know why Spring does not detect the existing transaction (both the platform tx manager
and bmds are injected with the same (JOTM) tx manager), but it appears that this means BMDS
won't work with Spring declarative transactions and PROPAGATION_REQUIRED (which is the default).

> BasicManagedDataSource optional transaction enlistment
> ------------------------------------------------------
>                 Key: DBCP-361
>                 URL:
>             Project: Commons Dbcp
>          Issue Type: New Feature
>            Reporter: Aaron Hamid
> It would be nice to not automatically enlist connections in a transaction.  I have found
automatic enlistment can be problematic when using another transaction API such as Spring's
declarative transactions (JtaTransactionManager).  It appears Spring may create a second,
wrapping transaction.  With Oracle this leads to: ORA-02089: COMMIT is not allowed in a subordinate
> E.g. see Bitronix setAutomaticEnlistingEnabled

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message