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