Adding SQL Server’s JDBC Driver in to Wildfly

You may also like...

11 Responses

  1. Tudor Valentin Apostu says:

    Thanks for the guide. On the written guide you don’t mention to put it in the main folder and I was going crazy until I saw the youtube clip. Thanks a lot.

  2. Victor says:

    Thanks brov. Works like charm. A quick one, maybe you should add the link to the mysql one too. Thanks again

  3. Leandro says:

    Can you explain more if the server is other IP please!

    • Dan says:

      The installation of the JDBC Driver will not be affected if SQL Server is on another IP address. The only thing that would change is the JDBC URL (i.e. “jdbc:sqlserver://localhost:1433;DatabaseName=temp”). Instead of localhost, you’d put the machine’s IP address. Example, jdbc:sqlserver://;DatabaseName=temp

  4. Michael Taylor says:

    For me, i was getting
    java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
    and my test connection failed…

    I had to add the javax.xml.bind.api dependency

  5. Michael Taylor says:

    Sorry, i had to remove the tags to make it appear in these comments….

    module xmlns=”urn:jboss:module:1.3″ name=””
    resource-root path=”mssql-jdbc-6.2.2.jre8.jar”
    module name=”javax.xml.bind.api”
    module name=”javax.api”
    module name=”javax.transaction.api”

  6. Will Cameron says:

    How much of a difference if doing this on a Docker container. Specifically the part regarding enabling XA?

  7. jesus says:

    how to connect an instantiated database? \ SQLEXPRESS

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.