Category Archives: grails

Mapping options for an Enum in a Grails Domain class

The next example illustrates the different options to map an enum. Given the next code: For enumType `ordinal` The enum will be mapped in the database as: ID VERSION NAME STATUS 1 0 Grails 3 – Step by Step 0 2 0 Grails 3 – A practical guide to application development 1 3 0 Falando […]