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()
|