I found that for defaultValue to work with String properties I needed to put double quotes around single quotes, and for defaultValue to work with numeric properties, I had to put double quotes around a number, or the default values would not appear in DDL. For example:
static mapping = { myStringProperty defaultValue: "'Cash'" myIntProperty defaultValue: "0" }
Also, as far as I can tell, the default values do not work for the properties that are listed.
source share