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