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

better support of XaDataSource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      sample config

                  setProperty("db1XA", "new://Resource?type=DataSource");
                  setProperty("db1XA.XaDataSource", "db1XAUnderlying");
                  setProperty("db1XA.DataSourceCreator", "dbcp-alternative");
                  // setProperty("db1XA.SkipImplicitAttributes", "true"); // implicit
      
                  setProperty("db1XAUnderlying", "new://Resource?type=javax.sql.XADataSource&class-name=" + org.hsqldb.jdbc.pool.JDBCXADataSource.class.getName());
                  setProperty("db1XAUnderlying.user", "SA");
                  setProperty("db1XAUnderlying.password", "");
                  setProperty("db1XAUnderlying.url", "jdbc:hsqldb:mem:db1");
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: