我们最近已迁移到SQL Server 2014,其中一台计算机上装有JAVA 5,另一台计算机上装有JAVA 6(这是必需的)。当我尝试连接数据库时,出现以下异常。
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)
以下是配置:
您将需要将SQL Server JDBC驱动程序至少升级到版本4.0(在此处下载)。然后,您可以使用其版本
访问SQL Server 2014。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句