class MyDomainClass { Date myDate = new Date(); Boolean myBoolean = false; String myString = ""; static mapping = { myDate defaultValue: "now()" myBoolean defaultValue: "false" myString defaultValue: "" } }
You can use sql now() method rather than Java/Groovy new Date()