Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1659

Driver-XA-datasource class for mysql is poiniting to incorrect class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.6.Final
    • 3.1.1.Final, 3.2.5.Final
    • None
    • None
    • Hide

      In recent release of mysql connector since J8 there is no class:
      com.mysql.jdbc.jdbc2.optional.MysqlXADataSource

      The package structure for XA class has changed

      Show
      In recent release of mysql connector since J8 there is no class: com.mysql.jdbc.jdbc2.optional.MysqlXADataSource The package structure for XA class has changed

      The class being pointed/loaded for XA_datasource mysql is:
      driver.get(DRIVER_XA_DATASOURCE_CLASS_NAME).set("com.mysql.jdbc.jdbc2.optional.MysqlXADataSource");

      It should be following instead as per changes to mysql driver recent releases of Mysql Connector J/8 is,the package structure has changed:
      com.mysql.cj.jdbc.MysqlXADataSource

            Unassigned Unassigned
            rhn-support-spatra Sweta Patra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: