HHH-7579 Oracle does not support "unique not null"

This commit is contained in:
brmeyer 2012-09-06 13:28:49 -04:00
parent 1a3199bfa8
commit 86deac49f7
2 changed files with 10 additions and 0 deletions

View File

@ -570,5 +570,10 @@ public class Oracle8iDialect extends Dialect {
public int getInExpressionCountLimit() { public int getInExpressionCountLimit() {
return PARAM_LIST_SIZE_LIMIT; return PARAM_LIST_SIZE_LIMIT;
} }
@Override
public boolean supportsNotNullUnique() {
return false;
}
} }

View File

@ -377,4 +377,9 @@ public class Oracle9Dialect extends Dialect {
public int getInExpressionCountLimit() { public int getInExpressionCountLimit() {
return PARAM_LIST_SIZE_LIMIT; return PARAM_LIST_SIZE_LIMIT;
} }
@Override
public boolean supportsNotNullUnique() {
return false;
}
} }