title: JDBC driver for SQL server 2014
body: <p>We have recently migrated to SQL server 2014 with JAVA 5 on one machine and JAVA 6 on another (this is a requirement). When I try to connect to database I get follwoing exception.</p>
  
  <pre><code>org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (
         com.microsoft.sqlserver.jdbc.SQLServerException:
               The server version is not supported.
               The target server must be SQL Server 2000 or later.
         )
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207)
  </code></pre>
  
  <p>Following is the configuration:</p>
  
  <ul>
  <li>OS: Windows server 2012</li>
  <li>SQL server 2014</li>
  <li>JAVA version: JDK5u11 and JDK6u24</li>
  <li>Jar file: sqljdbc.jar for JDK5 and sqljdbc4.jar for JDK6</li>
  </ul>