demon101 opened a new issue, #14571: URL: https://github.com/apache/grails-core/issues/14571
### Task List - [ ] Steps to reproduce provided - [ ] Stacktrace (if present) provided - [ ] Example that reproduces the problem uploaded to Github - [ ] Full description of the issue provided (see below) ### Steps to Reproduce In grails 3.3 currently impossible to define enumType for a collection of enums. It works only for a separate field: https://docs.grails.org/latest/ref/Database%20Mapping/column.html @jameskleeh wrote: **I don't think this is possible currently** https://stackoverflow.com/questions/50210992/grails-3-enumtype-for-set-of-enums?noredirect=1#comment87450991_50210992 With grails 3.2 following code works well, but with grails 3.3 it use enum names during saving to DB ``` class Test { Set<TestEnum> enums static mapping { enums enumType: 'identity' // not works } } enum TestEnum { final int id TestEnum(int value){ ... } } ``` - **Operating System**: TODO - **GORM Version:** 6.1.9 - **Grails Version (if using Grails):** 3.3.5 - **JDK Version:** TODO ### Example Application - TODO: link to github repository with example that reproduces the issue -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
