|
I think that in this position you used to have an invocation to
HibernateHelper.getClass( entity );
When we decoupled this code from Hibernate ORM I blindly translated that into an equivalent invocation to the initializer, as the rules of proxy initialization are rather obscure to me. Having increased my knowledge of proxies of about 1% in the last two years, I might suspect that's it's actually unneeded?
A full test run without this line passed, so I'd say we remove it, at least untile someone complaints and provides a proper test for it, unless you can figure out why the HibernateHelper could possibly have been useful?
|