diff --git a/README.md b/README.md index 1de7ed467..af8c35e28 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The Hibernate Types repository gives you extra types and general-purpose utilities that are not supported by the Hibernate ORM core. -The main advantage of this project is that it supports a broad range of Hibernate versions, spanning from Hibernate ORM 6 to 5.5, 5.4, 5.3, 5.2, 5.1, 5, 4.3, 4.2, and Hibernate 4.1. +The main advantage of this project is that it supports a broad range of Hibernate versions, spanning from **Hibernate ORM 6** to **5.5**, **5.4**, **5.3**, **5.2**, **5.1**, **5**, **4.3**, **4.2**, and Hibernate **4.1**. ### Features diff --git a/hibernate-types-52/pom.xml b/hibernate-types-52/pom.xml index 5a3740db2..ca8085f79 100644 --- a/hibernate-types-52/pom.xml +++ b/hibernate-types-52/pom.xml @@ -66,7 +66,7 @@ 8 - 5.4.32.Final + 5.4.33.Final 42.3.3 diff --git a/hibernate-types-55/pom.xml b/hibernate-types-55/pom.xml index 8a2cd20b8..e13529114 100644 --- a/hibernate-types-55/pom.xml +++ b/hibernate-types-55/pom.xml @@ -66,7 +66,7 @@ 8 - 5.5.0.Final + 5.6.7.Final 42.3.3 8.0.28 diff --git a/hibernate-types-55/src/main/java/com/vladmihalcea/hibernate/id/BatchSequenceGenerator.java b/hibernate-types-55/src/main/java/com/vladmihalcea/hibernate/id/BatchSequenceGenerator.java index f78b9f705..ead1b59df 100644 --- a/hibernate-types-55/src/main/java/com/vladmihalcea/hibernate/id/BatchSequenceGenerator.java +++ b/hibernate-types-55/src/main/java/com/vladmihalcea/hibernate/id/BatchSequenceGenerator.java @@ -1,5 +1,6 @@ package com.vladmihalcea.hibernate.id; +import com.vladmihalcea.hibernate.util.ReflectionUtils; import org.hibernate.HibernateException; import org.hibernate.MappingException; import org.hibernate.boot.model.relational.Database; @@ -276,16 +277,12 @@ private String getSequenceName() { return this.databaseStructure.getName(); } - @Override - @Deprecated public String[] sqlCreateStrings(Dialect dialect) { - return this.databaseStructure.sqlCreateStrings(dialect); + return ReflectionUtils.invokeMethod(databaseStructure, "sqlCreateStrings", dialect); } - @Override - @Deprecated public String[] sqlDropStrings(Dialect dialect) { - return this.databaseStructure.sqlDropStrings(dialect); + return ReflectionUtils.invokeMethod(databaseStructure, "sqlDropStrings", dialect); } @Override diff --git a/hibernate-types-60/pom.xml b/hibernate-types-60/pom.xml index 360381a4b..c0fc7d303 100644 --- a/hibernate-types-60/pom.xml +++ b/hibernate-types-60/pom.xml @@ -18,7 +18,7 @@ - org.hibernate + org.hibernate.orm hibernate-core ${hibernate.version} provided