HHH-16517 Don't clear map to allow prepared statement group reuse

This commit is contained in:
Marco Belladelli 2023-05-04 16:02:03 +02:00
parent 51b04ab011
commit dcbbd28926
1 changed files with 0 additions and 1 deletions

View File

@ -149,7 +149,6 @@ public class PreparedStatementGroupStandard implements PreparedStatementGroup {
@Override @Override
public void release() { public void release() {
statementMap.forEach( (tableName, statementDetails) -> statementDetails.releaseStatement( session ) ); statementMap.forEach( (tableName, statementDetails) -> statementDetails.releaseStatement( session ) );
statementMap.clear();
} }