def b = new Book(title: "The Shining")
b.save()
println b.ident()
ident
Purpose
Returns the value of the identity property of the domain class regardless of the name of the identity property itself
|
(Quick Reference)
identPurposeReturns the value of the identity property of the domain class regardless of the name of the identity property itself Examples
|
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServlet API |