Hi, HHH-10478 is currently scheduled for 6.0.0.alpha1. What do you think about introducing it into 5.3.0 instead?
Using an OperationContext would be a less hacky way to fix HHH-3799 (PersistentSet does not honor hashcode/equals contract when loaded eagerly). It would be nice to remove operation-specific fields from StatefulPersistenceContext: private int cascading; private int loadCounter; private int removeOrphanBeforeUpdatesCounter; private boolean flushing; private boolean defaultReadOnly; private boolean hasNonReadOnlyEntities; private LoadContexts loadContexts; Without using an Operation context, the fix for HHH-3799would add something like: private boolean isEntityLoading; Regards, Gail _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev