Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Connection acquired while calling a stored procedure via JPA is not released [SPR-16826] #21366
When a DB stored procedure is called via Spring JPA, connection acquired from Connection Pool is not release back after calling.
Inside Class org.springframework.orm.jpa.SharedEntityManagerCreator and method invoke()
entity manager is only closed if method name matches "queryTerminatingMethods" set which does not include "execute" method used for calling Stored Procedure.
Affects: 4.3.17, 5.0.6
Backported to: 4.3.18