[hibernate-issues] [JIRA] (HHH-14075) Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused by hibernate-reactive

Gail Badner (JIRA) jira at hibernate.atlassian.net
Wed Jun 17 19:07:47 EDT 2020


Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 ) HHH-14075 ( https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 ) Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused by hibernate-reactive ( https://hibernate.atlassian.net/browse/HHH-14075?atlOrigin=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a ) 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%3Aabbef6b0-cce3-4556-9748-b721becb9c9a )

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=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14075#add-comment?atlOrigin=eyJpIjoiZWVlNmYzYzVhNzAxNDgwOWI2MzdkMTBmOGVhMWNlOGEiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100129- sha1:3ed9692 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200617/eee9122c/attachment.html 


More information about the hibernate-issues mailing list