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:
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet API |