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,7 +663,12 @@ public class QuerySqmImpl<R>
}
protected int doExecuteUpdate() {
return resolveNonSelectQueryPlan().executeUpdate( this );
try {
return resolveNonSelectQueryPlan().executeUpdate( this );
}
finally {
domainParameterXref.clearExpansions();
}
}
private NonSelectQueryPlan resolveNonSelectQueryPlan() {