[hibernate/hibernate-orm] 4448d4: HHH-14466 : StackOverflowError loading an entity ...
by gbadner
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 4448d42c7d8ba3e0367624839a9b1ef651b52eb0
https://github.com/hibernate/hibernate-orm/commit/4448d42c7d8ba3e03676248...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/FetchStyleLoadPlanBuildingAssociationVisitationStrategy.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/ManyToOneEagerDerivedIdFetchModeJoinTest.java
Log Message:
-----------
HHH-14466 : StackOverflowError loading an entity with eager one-to-many if bidirectional and many-to-one side is the ID
(cherry picked from commit 2bacaabc378472bd5a4a7341bcb77a50332249ae)
Commit: 681cc77dbb89addef4c19a91066631ff779e1f6c
https://github.com/hibernate/hibernate-orm/commit/681cc77dbb89addef4c19a9...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/FetchStyleLoadPlanBuildingAssociationVisitationStrategy.java
Log Message:
-----------
HHH-14390 : StackOverflowError with @Fetch(FetchMode.SELECT) mapped for entity with an ID that is a bidirectional one-to-one eager association
Move fix into FetchStyleLoadPlanBuildingAssociationVisitationStrategy
(cherry picked from commit cb18fdb4f7ddbe6ed6bf2db7c9399173d6318a9d)
Commit: 36ec6cfc909b29bc60ced4db4c8d0ba6ddea51ba
https://github.com/hibernate/hibernate-orm/commit/36ec6cfc909b29bc60ced4d...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/plan/build/internal/FetchStyleLoadPlanBuildingAssociationVisitationStrategy.java
Log Message:
-----------
HHH-14390 HHH-14466 : StackOverflowError loading inverse side of associations owned by associated entity ID
Improved code comments as recommended by Steve Ebersole.
(cherry picked from commit 34a361058de2f4ae3ae0f6ec8d662537b63d2bfd)
Compare: https://github.com/hibernate/hibernate-orm/compare/72bcd97db8eb...36ec6cf...
3 years, 9 months