helper class to disconnect Lazy loaders from closed session.
returns session, with session state check - throws LazyInitializationException if attempting to get unfetched lazy data while session is closed
nulls session reference
See Implementation
helper class to disconnect Lazy loaders from closed session.