From 32746ff07eae331e42a67083d66009d03bbb89a2 Mon Sep 17 00:00:00 2001 From: brmeyer Date: Wed, 14 Nov 2012 11:01:16 -0500 Subject: [PATCH] HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes --- .../main/java/org/hibernate/dialect/Oracle8iDialect.java | 5 ----- .../src/main/java/org/hibernate/dialect/Oracle9Dialect.java | 5 ----- .../src/main/java/org/hibernate/dialect/SybaseDialect.java | 6 ------ 3 files changed, 16 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java index 6f77273d91..5dcbc459dc 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java @@ -572,11 +572,6 @@ public class Oracle8iDialect extends Dialect { return PARAM_LIST_SIZE_LIMIT; } - @Override - public boolean supportsNotNullUnique() { - return false; - } - @Override public boolean forceLobAsLastValue() { return true; diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java index 341c5681de..d0f0d8ce79 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java @@ -377,9 +377,4 @@ public class Oracle9Dialect extends Dialect { public int getInExpressionCountLimit() { return PARAM_LIST_SIZE_LIMIT; } - - @Override - public boolean supportsNotNullUnique() { - return false; - } } diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java index 053c06e028..4064b2347a 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java @@ -26,7 +26,6 @@ package org.hibernate.dialect; import java.sql.Types; import org.hibernate.type.descriptor.sql.BlobTypeDescriptor; -import org.hibernate.type.descriptor.sql.LongVarbinaryTypeDescriptor; import org.hibernate.type.descriptor.sql.SqlTypeDescriptor; @@ -47,11 +46,6 @@ public class SybaseDialect extends AbstractTransactSQLDialect { return PARAM_LIST_SIZE_LIMIT; } - @Override - public boolean supportsNotNullUnique() { - return false; - } - @Override protected SqlTypeDescriptor getSqlTypeDescriptorOverride(int sqlCode) { return sqlCode == Types.BLOB ? BlobTypeDescriptor.PRIMITIVE_ARRAY_BINDING : super.getSqlTypeDescriptorOverride( sqlCode );