Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently our DataSourceFactory creates the datasource + pools it + if jtamanaged = true integrates it with JTA
would be great to get a JTADataSourceFactory to just wrap a datasource. The idea is to configure it this way:
<Resource id="myid" type="DataSource" class-name="org.apache.openejb.resource.jdbc.managed.JTADataSourceWrapperFactory" factory-name="create> Delegate = realDsId </Resource>
This allow to reuse custom datasource in a JTA context easily
Note: LogSql is supported