We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165472c commit 18499faCopy full SHA for 18499fa
hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
@@ -330,8 +330,10 @@ public void registerExportables(Database database) {
330
331
table.setOptions( options );
332
333
- table.addInitCommand( context -> new InitCommand( "insert into "
334
- + context.format( physicalTableName ) + " values ( " + initialValue + " )" ) );
+ table.addInitCommand( context -> new InitCommand(
+ "insert into " + context.format( physicalTableName )
335
+ + " ( " + valueColumnNameText + " ) values ( " + initialValue + " )"
336
+ ) );
337
}
338
339
0 commit comments