You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "Taack (via GitHub)" <gi...@apache.org> on 2026/07/25 05:50:17 UTC
[I] [Hibernate7G8M4] DDL fails if hasMany on enums [grails-core]
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: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Hibernate7G8M4] DDL fails if hasMany on enums [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty closed issue #16051: [Hibernate7G8M4] DDL fails if hasMany on enums
URL: https://github.com/apache/grails-core/issues/16051
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Hibernate7G8M4] DDL fails if hasMany on enums [grails-core]
Posted by "borinquenkid (via GitHub)" <gi...@apache.org>.
borinquenkid commented on issue #16051:
URL: https://github.com/apache/grails-core/issues/16051#issuecomment-5080143968
@Taack Fixed. Should go out in RC1
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org