Taack opened a new issue, #16051:
URL: https://github.com/apache/grails-core/issues/16051

   ### Expected Behavior
   
   The app should launch without exception, join table should be created
   
   ### Actual Behaviour
   
   Join tables are not created. The domain class:
   ```groovy
   package tc
   
   import grails.compiler.GrailsCompileStatic
   import groovy.transform.CompileStatic
   
   @CompileStatic
   enum SomeEnum {
       FOR_SURE, MAYBE, MAYBE_NOT, DONT_KNOW
   }
   
   @GrailsCompileStatic
   class SomeDomain {
   
       Set<SomeEnum> someResponses
   
       static constraints = {
   
       }
   
       static hasMany = [
               someResponses: SomeEnum
       ]
   }
   ```
   
   ### Steps To Reproduce
   
   1. bootRun the following test-case
   
   
[tc-enum-set.tar.gz](https://github.com/user-attachments/files/30368407/tc-enum-set.tar.gz)
   
   ### Environment Information
   
   ```bash
   ❯ uname -a
   Linux cachyos-auo-portable 7.1.4-1-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 18 
Jul 2026 22:23:17 +0000 x86_64 GNU/Linux
   
   ~
   ❯ java -fullversion
   openjdk full version "26.0.1"
   ```
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   8.0.0-M4


-- 
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]

Reply via email to