Interface CurrentSessionContext

    • Method Detail

      • currentSession

        Session currentSession()
                        throws HibernateException
        Retrieve the current session according to the scoping defined by this implementation.
        Returns:
        The current session.
        Throws:
        HibernateException - Typically indicates an issue locating or creating the current session.