withSession
Purpose
Provides access to the underlying Hibernate Session
object
Examples
Book.withSession { session -> session.clear() }
Description
Parameters:
closure
- A closure which accepts aSession
argument
(Quick Reference)
withSessionPurposeProvides access to the underlying Hibernate ExamplesBook.withSession { session -> session.clear() } DescriptionParameters:
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |