From e9e6b0573f85730427bf4a668acfca5c19562839 Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Fri, 12 Oct 2018 12:55:25 +0300 Subject: [PATCH] HHH-12973 - Inconsistent identity generation when using the default @SequenceGenerator with a database sequence having the increment size of 1 - add SQL Server JDBC Driver version upgrade note to migration guides --- migration-guide.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/migration-guide.adoc b/migration-guide.adoc index a429d71da2..7f245dfec0 100644 --- a/migration-guide.adoc +++ b/migration-guide.adoc @@ -17,3 +17,6 @@ Hibernate Spatial depends on the https://github.com/locationtech/jts[Java Topolo See https://github.com/locationtech/jts/blob/master/MIGRATION.md[the JTS Migration guide] for more information. +=== SQL Server JDBC Driver version upgrade to at least 6.1.2 + +Due to fixing https://hibernate.atlassian.net/browse/HHH-12973[HHH-12973], you need to upgrade the JDBC Driver version to at least 6.1.2. Due to https://github.com/Microsoft/mssql-jdbc/issues/91[this bug], the older versions of the SQL Server JDBC Driver cannot introspect the `INFORMATION_SCHEMA.SEQUENCES` without closing the database connection.