
10
Nov, 13
Grails global beforeInsert and beforeUpdate
Grails domain classes has beforeInsert and beforeUpdate method that get fired before domain object is going to saved or updated respectively. class Person { def securityService String name Date signupDate String lastUpdatedBy def beforeInsert() { signupDate = new...
Recent Comments