[hibernate-issues] [JIRA] (HHH-13997) Add several methods to SessionImpl and StatefulPersistenceContext to allow an implementor to extend functionality

Gail Badner (JIRA) jira at hibernate.atlassian.net
Fri May 1 00:22:25 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=eyJpIjoiOGM5ZmY1NWQ1MzUwNDk1Mjg4NjlhYTJjZTMzNzFhODUiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiOGM5ZmY1NWQ1MzUwNDk1Mjg4NjlhYTJjZTMzNzFhODUiLCJwIjoiaiJ9 ) HHH-13997 ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiOGM5ZmY1NWQ1MzUwNDk1Mjg4NjlhYTJjZTMzNzFhODUiLCJwIjoiaiJ9 ) Add several methods to SessionImpl and StatefulPersistenceContext to allow an implementor to extend functionality ( https://hibernate.atlassian.net/browse/HHH-13997?atlOrigin=eyJpIjoiOGM5ZmY1NWQ1MzUwNDk1Mjg4NjlhYTJjZTMzNzFhODUiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Unassigned Created: 30/Apr/2020 21:22 PM Fix Versions: 5.5.0.Beta1 Priority: Major Reporter: Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a )

These changes are requested so that hibernate-rx can extend SessionImpl and StatefulPersistenceContext provide it's 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()

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

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/2412c849/attachment.html 


More information about the hibernate-issues mailing list