withSession

Purpose

Provides access to the underlying Hibernate Session object

Examples

Book.withSession { org.hibernate.Session session ->
	session.clear()
}

Description

Parameters: