We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125aa7e commit 7605239Copy full SHA for 7605239
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
@@ -732,7 +732,12 @@ protected void verifyUpdate() {
732
733
protected int doExecuteUpdate() {
734
getSession().prepareForQueryExecution( true );
735
- return resolveNonSelectQueryPlan().executeUpdate( this );
+ try {
736
+ return resolveNonSelectQueryPlan().executeUpdate( this );
737
+ }
738
+ finally {
739
+ domainParameterXref.clearExpansions();
740
741
}
742
743
private NonSelectQueryPlan resolveNonSelectQueryPlan() {
0 commit comments