[#3667] <types/> configuration doesn't work for Derby DATE types
This commit is contained in:
parent
7600a95523
commit
3d64431f59
@ -148,6 +148,10 @@ extends AbstractDefinition {
|
||||
return 0;
|
||||
}
|
||||
|
||||
protected String parseTypeName(String typeName) {
|
||||
return typeName.replace(" NOT NULL", "");
|
||||
}
|
||||
|
||||
protected boolean parseNotNull(String typeName) {
|
||||
return typeName.toUpperCase().contains("NOT NULL");
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ public class DerbyTableDefinition extends AbstractTableDefinition {
|
||||
DataTypeDefinition type = new DefaultDataTypeDefinition(
|
||||
getDatabase(),
|
||||
getSchema(),
|
||||
typeName,
|
||||
parseTypeName(typeName),
|
||||
precision,
|
||||
precision,
|
||||
scale,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user