spring-framework/spring-orm
Giuseppe 24b359d519 Handle all exceptions for stored proc out param retrieval in SharedEntityManagerCreator
Prior to this commit, the EntityManager was not closed in
SharedEntityManagerCreator.DeferredQueryInvocationHandler's
invoke(Object, Method, Object[]) method if an invocation of
getOutputParameterValue(*) threw an exception other than
IllegalArgumentException, which could lead to a connection leak.

This commit addresses this by catching RuntimeException instead of
IllegalArgumentException.

Closes gh-30161
2023-03-22 15:39:53 +01:00
..
src Handle all exceptions for stored proc out param retrieval in SharedEntityManagerCreator 2023-03-22 15:39:53 +01:00
spring-orm.gradle AOT contribution for @PersistenceContext and @PersistenceUnit 2022-04-25 11:01:09 +02:00