Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: 74433cdec33655fad911563a8439cee40853c2b5
https://github.com/hibernate/hibernate-orm/commit/74433cdec33655fad911563...
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: e5c830da19cbfa57c5a23b2d884244f280d586e0
https://github.com/hibernate/hibernate-orm/commit/e5c830da19cbfa57c5a23b2...
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: d726dcb394e69eec02af2c8c3ac3ebc6679dc19c
https://github.com/hibernate/hibernate-orm/commit/d726dcb394e69eec02af2c8...
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: d0b44c48ef6926f59a265222040fafaedfca42a0
https://github.com/hibernate/hibernate-orm/commit/d0b44c48ef6926f59a26522...
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: 8210bc220b42774f311bd8fe7fb5d28936ab9fcf
https://github.com/hibernate/hibernate-orm/commit/8210bc220b42774f311bd8f...
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: 4c9c2a809ac6b3a3b54cd4a3cbedc53695ab9287
https://github.com/hibernate/hibernate-orm/commit/4c9c2a809ac6b3a3b54cd4a...
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/1e5d64cf7944...4c9c2a8...