Derived Properties Formula

I recently stuck in a situation where I need to apply sorting but I have to apply sorting on those values which are calculated in my code and does not exist in the database. For this On the suggestion of Mr. M.K. Bharti and with the help of Mr. A. Pandey I got the way...

grails failOnError and flush in action

In my previous blog we have seen how to set failOnError and flush globally. In this blog I am providing a use case of failOnError and flush. Lets have a simple domain class class Person { String firstName String lastName String email static constraints = { firstName...