Browse Source

Merge pull request #7710 in CORE/base-third from release/11.0 to bugfix/11.0

* commit 'f72914cfe6b1fd2e180f0ad07d0b34176d0d1f81':
  REPORT-86792【迭代】【配置库适配GoldenDB】迁移GoldenDB失败
bugfix/11.0
superman 2 years ago
parent
commit
9f82d36183
  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