[hibernate-commits] [hibernate/hibernate-orm] 5c7243: HHH-9570: Auto-detect SQL Server 2014

GitHub noreply at github.com
Mon Apr 25 10:58:46 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 5c724307c780ef5992c2bf7e6909c0c185481d75
      https://github.com/hibernate/hibernate-orm/commit/5c724307c780ef5992c2bf7e6909c0c185481d75
  Author: Gustavo Adolfo Rodríguez Libreros <gustavo.adolfo.rodriguez.l at gmail.com>
  Date:   2016-04-25 (Mon, 25 Apr 2016)

  Changed paths:
    M build.gradle
    M databases.gradle
    M hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolver.java
    M hibernate-core/src/test/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolverTest.java
    M libraries.gradle

  Log Message:
  -----------
  HHH-9570: Auto-detect SQL Server 2014

Copying a previous workaround for the same issue: https://github.com/hibernate/hibernate-orm/pull/395

- Previously, SQL Server version 12 (SQL Server 2014) was an unknown version, resulting in the SQLServerDialect
- Add version 12 to the switch statement so that SQLServer2012Dialect  is now returned by default, as SQL Server 2014 is much more similar to SQL Server 2012 than SQL Server 2000
- Add test case
- Add Oracle and SQL Server environments for testing purpose




More information about the hibernate-commits mailing list