in Grails, Is there a way to limit the size of the column to which the enum is mapped. In the following example, i would like the column type to be char(2)
e
Since GORM 6.1 identity enum mapping can be enabled with such construct
static mapping = { myEnum enumType:"identity" }