HHH-18027 Clear expansions NonSelectQueryPlan.executeUpdate call

This commit is contained in:
Christian Beikov 2024-05-23 20:03:32 +02:00
parent e8d396ccbd
commit fcc7216911
1 changed files with 6 additions and 1 deletions

View File

@ -663,8 +663,13 @@ public class QuerySqmImpl<R>
}
protected int doExecuteUpdate() {
try {
return resolveNonSelectQueryPlan().executeUpdate( this );
}
finally {
domainParameterXref.clearExpansions();
}
}
private NonSelectQueryPlan resolveNonSelectQueryPlan() {
// resolve (or make) the QueryPlan.