[hibernate-dev] Number of SQL statements

2017-09-22 Thread Thomas Reinhardt
Hello Hibernate Team, is there a good way to check in a junit test which number of sql statements are generated ? I want to tackle some of the lazy loading/class enhancement issues and those need good tests of course. Somehow related: I have a (rather trivial) fix for HHH-7842 (Hibernate Crit

[hibernate-dev] Too simple a solution for HHH-11147 ?

2017-09-27 Thread Thomas Reinhardt
Hello, I investigated HHH-11147 (Allow enhanced entities to be returned in a completely uninitialized state) and have a very small fix for that issue. I want your feedback if I am going the correct route here. Seems too easy and lazy loading is a pretty important piece of hibernate. To spare e