SessionAccessor

helper class to disconnect Lazy loaders from closed session.

Constructors

this
this(SessionImpl session)
Undocumented in source.

Members

Functions

get
SessionImpl get()

returns session, with session state check - throws LazyInitializationException if attempting to get unfetched lazy data while session is closed

onSessionClosed
void onSessionClosed()

nulls session reference

Meta