I've created a gist with an overview of the design: https://gist.github.com/gbadner/f0e635e8fba7b84af233 . I will add a new section tomorrow about possible shortcomings.
Here is my POC: https://github.com/hibernate/hibernate-orm/compare/master...gbadner:HHH-10478-OperationContext . Although no tests fail, the approach may be too simple to model what is necessary. At this point the POC is squashed down to 1 commit: https://github.com/hibernate/hibernate-orm/commit/3d0e2378cb998788b3205afb1e15c443c5ba77e8 Have a look and feel free to comment. Thanks, Gail _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev