[hibernate-dev] Narrowed HibernateProxy and Uninitialized bytecode-enhanced entities do not get detached

2019-10-18 Thread Gail Badner
Hi, I seem to remember this topic came when we were working on the enhancement-as-proxy feature. Basically, EnhancementAsProxyLazinessInterceptor#session does not get nullified when the PersistenceContext gets cleared. As a result, such an entity can still get initialized if the SharedSessionCon

[hibernate-dev] HHH-13604 Define some Byteman rules to check what APIs are used at runtime: next steps?

2019-10-18 Thread Fabio Massimo Ercoli
Hi guys, the activity was very interesting, so I would like to thank Sanne who had the idea and led the scope of the activity and thanks to Andrea who gave me some nice ideas to improve the work. With [this pull request]( https://github.com/hibernate/hibernate-orm/pull/3040) we have now rules to