File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect
hibernate-core/src/main/java/org/hibernate/query/sqm/internal Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,11 @@ public boolean supportsLateral() {
479
479
return getVersion ().isSameOrAfter ( 12 , 10 );
480
480
}
481
481
482
+ @ Override
483
+ public boolean supportsValuesListForInsert () {
484
+ return false ;
485
+ }
486
+
482
487
@ Override
483
488
public ViolatedConstraintNameExtractor getViolatedConstraintNameExtractor () {
484
489
return EXTRACTOR ;
Original file line number Diff line number Diff line change @@ -788,7 +788,7 @@ else if ( sqmInsert instanceof SqmInsertValuesStatement<?>
788
788
final NonSelectQueryPlan [] planParts = new NonSelectQueryPlan [valuesList .size ()];
789
789
for ( int i = 0 ; i < valuesList .size (); i ++ ) {
790
790
final SqmInsertValuesStatement <?> subInsert = insertValues .copyWithoutValues ( SqmCopyContext .simpleContext () );
791
- subInsert .values ( valuesList );
791
+ subInsert .values ( valuesList . get ( i ) );
792
792
planParts [i ] = new SimpleInsertQueryPlan ( subInsert , domainParameterXref );
793
793
}
794
794
You can’t perform that action at this time.
0 commit comments