A small comment related to PreLoadEvent.getState() Switching to PostLoadEvent and using a workaround event.getPersister().getValues(event.getEntity()) might lead to a performance penalty (still investigating it whether that’s the case). Probably PreLoadEvent should also avoid any performance penalty when trying to guarantee the state is not null. And related to PostLoadEvent, it would be much better if it would have the same Object[] state as PreLoadEvent without having to calculate it with the persister.getValues(..) but that’s outside the scope of this issue. |