diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/PreparedStatementGroupStandard.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/PreparedStatementGroupStandard.java index f89a1f71fd..1b0dfe3863 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/PreparedStatementGroupStandard.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/internal/PreparedStatementGroupStandard.java @@ -149,7 +149,6 @@ public class PreparedStatementGroupStandard implements PreparedStatementGroup { @Override public void release() { statementMap.forEach( (tableName, statementDetails) -> statementDetails.releaseStatement( session ) ); - statementMap.clear(); }