[jboss-jira] [JBoss JIRA] (WFLY-9987) The attribute 'driver-datasource-class-name' is missing from 'get-installed-driver' operation

Lin Gao (JIRA) issues at jboss.org
Fri Mar 9 05:31:00 EST 2018


Lin Gao created WFLY-9987:
-----------------------------

             Summary: The attribute 'driver-datasource-class-name' is missing from 'get-installed-driver' operation
                 Key: WFLY-9987
                 URL: https://issues.jboss.org/browse/WFLY-9987
             Project: WildFly
          Issue Type: Enhancement
          Components: JCA
    Affects Versions: 12.0.0.Final
            Reporter: Lin Gao
            Assignee: Lin Gao
            Priority: Minor


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

{code:java}
[standalone at 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
    }]
}
{code}

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

{code:java}
[standalone at 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
    }]
}
{code}


It should be better to keep these information consistent.




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list