Getting HHH000385: Unknown Microsoft SQL Server major version [12] using SQL Server 2000 dialect in JBoss EAP 6

Solution Verified - Updated -

Issue

  • We recently migrate our SQL Servers from 2008 R2 to 2014. The SQLServer version is : 12.0.4100. On our JBoss server in .../modules/com/microsoft/sqlserver/v41/ we have sqljdbc4.jar, sqljdbc41.jar and sqljdbc42.jar in .../modules/com/microsoft/sqlserver/main/ we have sqljdbc4.jar

  • We have below Microsoft SQL Server error messages in the server.log that recurring a lot of times:

2016-09-22 11:00:30,131 WARN  [org.hibernate.service.jdbc.dialect.internal.StandardDialectResolver] (ServerService Thread Pool -- 80) HHH000385: Unknown Microsoft SQL Server major version [12] using SQL Server 2000 dialect
2016-09-22 11:00:30,419 WARN  [org.hibernate.service.jdbc.dialect.internal.StandardDialectResolver] (ServerService Thread Pool -- 58) HHH000385: Unknown Microsoft SQL Server major version [12] using SQL Server 2000 dialect
2016-09-22 11:00:30,436 WARN  [org.hibernate.service.jdbc.dialect.internal.StandardDialectResolver] (ServerService Thread Pool -- 69) HHH000385: Unknown Microsoft SQL Server major version [12] using SQL Server 2000 dialect
2016-09-22 11:00:31,960 WARN  [org.hibernate.service.jdbc.dialect.internal.StandardDialectResolver] (ServerService Thread Pool -- 71) HHH000385: Unknown Microsoft SQL Server major version [12] using SQL Server 2000 dialect
...
...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Hibernate 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content