diff --git a/hibernate-types-4/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java b/hibernate-types-4/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java index e0e7cfaf2..27fd28122 100644 --- a/hibernate-types-4/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java +++ b/hibernate-types-4/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java @@ -18,7 +18,7 @@ public abstract class AbstractJsonSqlTypeDescriptor implements SqlTypeDescriptor @Override public int getSqlType() { - return Types.OTHER; + return Types.JAVA_OBJECT; } @Override diff --git a/hibernate-types-43/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java b/hibernate-types-43/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java index f2bd63afa..e9fdff6e8 100644 --- a/hibernate-types-43/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java +++ b/hibernate-types-43/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java @@ -18,7 +18,7 @@ public abstract class AbstractJsonSqlTypeDescriptor implements SqlTypeDescriptor @Override public int getSqlType() { - return Types.OTHER; + return Types.JAVA_OBJECT; } @Override diff --git a/hibernate-types-5/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java b/hibernate-types-5/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java index f2bd63afa..e9fdff6e8 100644 --- a/hibernate-types-5/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java +++ b/hibernate-types-5/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java @@ -18,7 +18,7 @@ public abstract class AbstractJsonSqlTypeDescriptor implements SqlTypeDescriptor @Override public int getSqlType() { - return Types.OTHER; + return Types.JAVA_OBJECT; } @Override diff --git a/hibernate-types-52/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java b/hibernate-types-52/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java index 3dfd34438..aaea75956 100644 --- a/hibernate-types-52/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java +++ b/hibernate-types-52/src/main/java/com/vladmihalcea/hibernate/type/json/internal/AbstractJsonSqlTypeDescriptor.java @@ -18,7 +18,7 @@ public abstract class AbstractJsonSqlTypeDescriptor implements SqlTypeDescriptor @Override public int getSqlType() { - return Types.OTHER; + return Types.JAVA_OBJECT; } @Override