Browse Source

REPORT-86792【迭代】【配置库适配GoldenDB】迁移GoldenDB失败

release/11.0
lidongy 2 years ago
parent
commit
a31fa57be8
  1. 4
      fine-hibernate/src/main/java/com/fr/third/org/hibernate/tool/schema/internal/StandardTableExporter.java

4
fine-hibernate/src/main/java/com/fr/third/org/hibernate/tool/schema/internal/StandardTableExporter.java

@ -147,6 +147,8 @@ public class StandardTableExporter implements Exporter<Table> {
applyTableTypeString( buf );
buf.append(table.getPrimaryKey().sqlDistributeString(dialect));
List<String> sqlStrings = new ArrayList<String>();
sqlStrings.add( buf.toString() );
@ -154,8 +156,6 @@ public class StandardTableExporter implements Exporter<Table> {
applyInitCommands( table, sqlStrings );
buf.append(table.getPrimaryKey().sqlDistributeString(dialect));
return sqlStrings.toArray( new String[ sqlStrings.size() ] );
}

Loading…
Cancel
Save