| As a first step, the caches passed by the anything argument by {org.hibernate.engine.spi.CascadingActions#cascade}} will be moved to an OperationContext and will be accessible by calling SessionImplementor#getOperationContext(OperationContextType) {{public enum OperationContextType { SAVE_UPDATE, MERGE, LOCK, DELETE, REFRESH, REPLICATE } }} New OperationType values and OperationContext subclasses can be added for data cached in StatefulPersistenceContext that is only relevant while an operation in progress (e.g., load contexts for a LOAD operation). |