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