HHH-18027 Clear expansions NonSelectQueryPlan.executeUpdate call

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

View File

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