Skip to content
Permalink
Browse files

0003522: Table creation Error while initial Load into oracle DB

(initial.load.create.first=true) when using Default value SYS_GUID()
  • Loading branch information...
philipmarzullo64 committed Jan 25, 2019
1 parent 04b2fb1 commit b6d9e04a6f881de292d41e6bbb4ca89261ff9f1c
@@ -121,7 +121,7 @@ protected String mapDefaultValue(Object defaultValue, int typeCode) {
@Override
protected void printDefaultValue(String defaultValue, int typeCode, StringBuilder ddl) {
String defaultValueStr = mapDefaultValue(defaultValue, typeCode);
if(defaultValue != null && defaultValueStr.trim().toUpperCase().startsWith("SYS_GUID")) {
if(defaultValueStr != null && defaultValueStr.trim().toUpperCase().startsWith("SYS_GUID")) {
ddl.append(defaultValueStr);
} else {
super.printDefaultValue(defaultValue, typeCode, ddl);

0 comments on commit b6d9e04

Please sign in to comment.
You can’t perform that action at this time.