@Julien
I solved all of my LazyInitializationExceptions by using the new ENABLE_LAZY_LOAD_NO_TRANS option, which allows lazy loads outside of session. It works like a charm and simplified my code a lot. Just beware of the few bugs related to it like
HHH-7971
.
|