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