From ef242b283a565d3d78f061cbda0ec18f8680db5e Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Wed, 31 Jul 2019 18:42:44 +0100 Subject: [PATCH] HHH-13528 Remove call to resourceRegistry.release(ResultSet resultSet, Statement statement) from AbstractLoadPlanBasedLoader#executeLoad() --- .../plan/exec/internal/AbstractLoadPlanBasedLoader.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java b/hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java index 1200e81946..8e3b76e44f 100644 --- a/hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java +++ b/hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java @@ -141,10 +141,6 @@ public abstract class AbstractLoadPlanBasedLoader { if ( wrapper != null ) { final JdbcCoordinator jdbcCoordinator = session.getJdbcCoordinator(); final ResourceRegistry resourceRegistry = jdbcCoordinator.getResourceRegistry(); - resourceRegistry.release( - wrapper.getResultSet(), - wrapper.getStatement() - ); resourceRegistry.release( wrapper.getStatement() ); jdbcCoordinator.afterStatementExecution(); }