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