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

Driver-XA classes should not be hardcoded in console code

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.6.5.Final
    • 3.0.10.Final, 3.2.0.Final
    • None
    • None

    Description

      Inside the same class DatasourceTemplates.java for each driver vendor I can see Driver-xa-datasource class is being added via hardcoding.

      ex:
      driver.get(DRIVER_XA_DATASOURCE_CLASS_NAME).set("org.postgresql.xa.PGXADataSource");

      Hard coding is not recommended/suggested as these classes/classpath may change with driver versions.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-yvedpath Yogesh Vedpathak
              rhn-support-spatra Sweta Patra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: