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