Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1172

support jta wrapping (ManagedDataSource) of a custom datasource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • 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

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: