HHH-18250 Informix multi insert not supported
This commit is contained in:
parent
8166086957
commit
aa9f3d091c
|
@ -479,6 +479,11 @@ public class InformixDialect extends Dialect {
|
||||||
return getVersion().isSameOrAfter( 12, 10 );
|
return getVersion().isSameOrAfter( 12, 10 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsValuesListForInsert() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ViolatedConstraintNameExtractor getViolatedConstraintNameExtractor() {
|
public ViolatedConstraintNameExtractor getViolatedConstraintNameExtractor() {
|
||||||
return EXTRACTOR;
|
return EXTRACTOR;
|
||||||
|
|
|
@ -788,7 +788,7 @@ public class QuerySqmImpl<R>
|
||||||
final NonSelectQueryPlan[] planParts = new NonSelectQueryPlan[valuesList.size()];
|
final NonSelectQueryPlan[] planParts = new NonSelectQueryPlan[valuesList.size()];
|
||||||
for ( int i = 0; i < valuesList.size(); i++ ) {
|
for ( int i = 0; i < valuesList.size(); i++ ) {
|
||||||
final SqmInsertValuesStatement<?> subInsert = insertValues.copyWithoutValues( SqmCopyContext.simpleContext() );
|
final SqmInsertValuesStatement<?> subInsert = insertValues.copyWithoutValues( SqmCopyContext.simpleContext() );
|
||||||
subInsert.values( valuesList );
|
subInsert.values( valuesList.get( i ) );
|
||||||
planParts[i] = new SimpleInsertQueryPlan( subInsert, domainParameterXref );
|
planParts[i] = new SimpleInsertQueryPlan( subInsert, domainParameterXref );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue