[jboss-jira] [JBoss JIRA] (WFLY-6157) Connection URL ignored for SQL Server datasource

Moritz Becker (JIRA) issues at jboss.org
Thu Feb 11 07:32:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-6157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161685#comment-13161685 ] 

Moritz Becker commented on WFLY-6157:
-------------------------------------

As a workaround you can override the jdbc url properties via connection properties in the standalone.xml datasource configuration as follows:

{code:xml}
<connection-url>...</connection-url>
<driver>...</driver>
<connection-property name="DatabaseName">my-db</connection-property>
{code}

> Connection URL ignored for SQL Server datasource
> ------------------------------------------------
>
>                 Key: WFLY-6157
>                 URL: https://issues.jboss.org/browse/WFLY-6157
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 10.0.0.Final
>            Reporter: Rich DiCroce
>            Assignee: Jason Greene
>
> The connection-url for a datasource is being ignored (or more likely, getting lost somewhere) when using WildFly with the Microsoft SQL Server JDBC driver. No matter what I specify as the connection-url (even something obviously invalid like "foobar"), the driver always ends up using the defaults that are baked into it.
> The same driver worked fine on WildFly 10 CR2 (and many earlier versions), so some change between then and 10 Final has caused a regression.



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


More information about the jboss-jira mailing list