HHH-8005 Sybase 15 - nullable column are not nullable (when created by

SchemaExport)
This commit is contained in:
Brett Meyer 2013-02-14 18:42:42 -05:00
parent f1a4d17e2b
commit 68b45f48bb
1 changed files with 5 additions and 0 deletions

View File

@ -50,4 +50,9 @@ public class SybaseDialect extends AbstractTransactSQLDialect {
protected SqlTypeDescriptor getSqlTypeDescriptorOverride(int sqlCode) {
return sqlCode == Types.BLOB ? BlobTypeDescriptor.PRIMITIVE_ARRAY_BINDING : super.getSqlTypeDescriptorOverride( sqlCode );
}
@Override
public String getNullColumnString() {
return "null";
}
}