From c3861c6b3317d65fd6270c8444167f6aca81600c Mon Sep 17 00:00:00 2001 From: brmeyer Date: Thu, 6 Sep 2012 12:51:08 -0400 Subject: [PATCH] HHH-7578 Sybase does not support "unique not null" --- .../src/main/java/org/hibernate/dialect/SybaseDialect.java | 5 +++++ 1 file changed, 5 insertions(+) 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 13f333933c..2d5bc8454a 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java @@ -40,4 +40,9 @@ public class SybaseDialect extends AbstractTransactSQLDialect { public int getInExpressionCountLimit() { return PARAM_LIST_SIZE_LIMIT; } + + @Override + public boolean supportsNotNullUnique() { + return false; + } }