Skip to content

Commit c4c3394

Browse files
committed
HHH-8811 collection read causes open cursors
1 parent e304059 commit c4c3394

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public int[] getNamedParameterLocations(String name) {
157157
wrapper.getResultSet(),
158158
wrapper.getStatement()
159159
);
160+
session.getTransactionCoordinator().getJdbcCoordinator().release( wrapper.getStatement() );
160161
}
161162
persistenceContext.afterLoad();
162163
}

0 commit comments

Comments
 (0)