The problem with the Lazy loading mode is that the call to one of those Lazy variables might happen in a UI layer and by the time this entity is returned to the UI, there might not be any hibernate session in view. Since this is not a
Java EE app, I cannot think of using the Open Session in View filter.