Branch: refs/heads/5.4
Home:
https://github.com/hibernate/hibernate-orm
Commit: 44b93038771b314aa64308d5f0f3ac1108314a38
https://github.com/hibernate/hibernate-orm/commit/44b93038771b314aa64308d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
Log Message:
-----------
HHH-14326 Release JDBC resources before closing the connection
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e2b7299e15ce8dbeb1060e30abc35da87974d509
https://github.com/hibernate/hibernate-orm/commit/e2b7299e15ce8dbeb1060e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
Log Message:
-----------
HHH-14326 Always close the connection even if releasing JDBC resources fails
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 46452f24824e5c363540a77e71898c1c194194b3
https://github.com/hibernate/hibernate-orm/commit/46452f24824e5c363540a77...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/test/connections/BeforeCompletionReleaseTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/TestForIssue.java
Log Message:
-----------
HHH-14326 Test JDBC resources are released before closing the connection
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 524fafd7e9c095c6608d2a35469a60cd506413bf
https://github.com/hibernate/hibernate-orm/commit/524fafd7e9c095c6608d2a3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/JdbcSessionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
Log Message:
-----------
HHH-14404 Take into account the connectionHandlingMode passed through SessionBuilder
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: afd3758823d5aced96b28d1b0bca3545425db03f
https://github.com/hibernate/hibernate-orm/commit/afd3758823d5aced96b28d1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/test/connections/BeforeCompletionReleaseTest.java
Log Message:
-----------
HHH-14404 Test setting the connection handling mode through SessionBuilder
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 5c86f126758a690a99d869820d723f96e060b027
https://github.com/hibernate/hibernate-orm/commit/5c86f126758a690a99d8698...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-20 (Wed, 20 Jan 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
Log Message:
-----------
HHH-14404 Remove check for concurrent execution of
LogicalConnectionManagedImpl#releaseConnection
It's unlikely to ever happen, and even if it happened, the resulting
exception would probably be rather clear about the fact that the problem
is related to concurrent execution (ConcurrentModificationException
thrown by a Map of resources, for example).
See
https://github.com/hibernate/hibernate-orm/pull/3693#discussion_r560393293
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/e994736ec99e...5c86f12...