Browse Source

Merge pull request #7711 in CORE/base-third from bugfix/11.0 to feature/x

* commit '9f82d36183b405216f3b81e75e858514be389e04':
  REPORT-86792【迭代】【配置库适配GoldenDB】迁移GoldenDB失败
feature/x
superman 2 years ago
parent
commit
5f0f5d35ae
  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