Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9987

The attribute 'driver-datasource-class-name' is missing from 'get-installed-driver' operation

    Details

      Description

      The attribute 'driver-datasource-class-name' is missing from 'get-installed-driver' operation:

      [standalone@localhost:9990 /] /subsystem=datasources:get-installed-driver(driver-name=h2)
      {
          "outcome" => "success",
          "result" => [{
              "driver-name" => "h2",
              "deployment-name" => undefined,
              "driver-module-name" => "com.h2database.h2",
              "module-slot" => "main",
              "driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource",
              "driver-class-name" => "org.h2.Driver",
              "driver-major-version" => 1,
              "driver-minor-version" => 4,
              "jdbc-compliant" => true
          }]
      }
      

      But it exists in the output of the operation: 'installed-drivers-list':

      [standalone@localhost:9990 /] /subsystem=datasources:installed-drivers-list()
      {
          "outcome" => "success",
          "result" => [{
              "driver-name" => "h2",
              "deployment-name" => undefined,
              "driver-module-name" => "com.h2database.h2",
              "module-slot" => "main",
              "driver-datasource-class-name" => "",   <!--- HERE IT IS  -->
              "driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource",
              "driver-class-name" => "org.h2.Driver",
              "driver-major-version" => 1,
              "driver-minor-version" => 4,
              "jdbc-compliant" => true
          }]
      }
      

      It should be better to keep these information consistent.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gaol Lin Gao
                Reporter:
                gaol Lin Gao
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: