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}} |
|