[hibernate-issues] [JIRA] (HHH-13997) Add several methods to SessionImpl and StatefulPersistenceContext to allow an implementor to extend functionality; make Loader#registerNonExists protected

Gail Badner (JIRA) jira at hibernate.atlassian.net
Fri May 1 00:26:10 EDT 2020


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

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 ) HHH-13997 ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 ) Add several methods to SessionImpl and StatefulPersistenceContext to allow an implementor to extend functionality; make Loader#registerNonExists protected ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 )

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

These changes Changes are requested so that hibernate-rx can extend for {{SessionImpl}} and {{StatefulPersistenceContext}} so that hibernate-rx can extend provide it's its own functionality.

IMHO, once we have a better understanding of what is needed for hibernate-rx, the appropriate changes should be moved to an SPI. For now, extending these "internal" classes is a better alternative, to avoid having to change SPIs.

Requested addition to {{StatefulPersistenceContext}}:
* {{protected void initializeNonLazyCollections(Consumer<PersistentCollection> initializeAction )}}

Requested additions to {{SessionImpl}}:
* {{protected StatefulPersistenceContext createPersistenceContext()}}
* {{protected ActionQueue createActionQueue()}}

Requested change to {{Loader}}:
* change {{#registerNonExists}} from {{private}} to {{protected}}

( https://hibernate.atlassian.net/browse/HHH-13997#add-comment?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13997#add-comment?atlOrigin=eyJpIjoiZmRiNDU4MWVhODMxNGM3NGI0MzdkMDRhZjMzYjZhOWMiLCJwIjoiaiJ9 )

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#100125- sha1:9c01ca7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200501/cc3f1969/attachment-0001.html 


More information about the hibernate-issues mailing list