Gail Badner (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZWVlNmYzYzVh...
) / Task (
https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNm...
) HHH-14075 (
https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNm...
) Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused
by hibernate-reactive (
https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNm...
)
Issue Type: Task Assignee: Gail Badner (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hibernate-core Created: 17/Jun/2020 16:07 PM Fix Versions: 5.5.0.Beta1,
6.0.0.Alpha6, 5.4.17 Priority: Major Reporter: Gail Badner (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Includes the following changes.
* Break TwoPhaseLoad into 2 methods, #initializeEntityEntryLoadedState and
#initializeEntityFromEntityEntryLoadedState. #initializeEntityEntryLoadedState takes an
argument of type EntityResolver , which is responsible for resolving to-one entity
properties.
* A method was extracted from Loader#processResultSe , #getRowsFromResultSet , which reads
all the rows from the ResultSet.
* Some methods in Loader and OuterJoinLoader were changed to protected or public , as
needed so that Reactive implementations could make them public.
* Changes to AbstractLoadPlanBasedEntityLoader , AbstractLoadQueryDetails ,
EntityLoadQueryDetails , BatchingLoadQueryDetailsFactory , to allow a
ResultSetProcessorResolver to be provided by an implementation of
AbstractLoadPlanBasedEntityLoader
* Changes to ResultSetProcessorImpl to allow hibernate-reactive loaders to extend it so
that it can process the ResultSet and resolve hydrated objects reactively.
* Added EntityType#isEager(Boolean overridingEager) in order to determine if an entity
attribute being resolved by TwoPhaseLoad#initializeEntity will be eager.
(
https://hibernate.atlassian.net/browse/HHH-14075#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14075#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100129- sha1:3ed9692 )