[jboss-jira] [JBoss JIRA] (WFLY-6198) When a datasource has no connection-properties and its driver has defined datasource-class is defined and no connections-properties a warning should be issued

ehsavoie Hugonnet (JIRA) issues at jboss.org
Fri Feb 12 09:29:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-6198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ehsavoie Hugonnet updated WFLY-6198:
------------------------------------
    Description: 
If a datasource-class is defined then it takes precedence to create the datasource and as such it can only use connection-properties.
Since there is not a single connection-url property for all drivers, you have to use connection-properties if you are defining the datasource-class.
A warning when the datasource-class is defined but no connection-properties are present should be issued.

  was:
If a datasource-class is defined then it takes precedence to create the datasource and as such it can only use connection-properties.
Since there is not a single connection-url property for all drivers, you have to use connection-properties if you are defining the datasource-class.



> When a datasource has no connection-properties and its driver has defined datasource-class is defined and no connections-properties a warning should be issued
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6198
>                 URL: https://issues.jboss.org/browse/WFLY-6198
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: JCA
>    Affects Versions: 10.0.0.Final
>            Reporter: ehsavoie Hugonnet
>            Assignee: Jesper Pedersen
>
> If a datasource-class is defined then it takes precedence to create the datasource and as such it can only use connection-properties.
> Since there is not a single connection-url property for all drivers, you have to use connection-properties if you are defining the datasource-class.
> A warning when the datasource-class is defined but no connection-properties are present should be issued.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list