ident
Purpose
Returns the value of the identity property of the domain class regardless of the name of the identity property itselfExamples
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 itselfExamplesdef b = new Book(title: "The Shining") b.save()println b.ident() |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |