rodolfosaraiva opened a new issue, #14427:
URL: https://github.com/apache/grails-core/issues/14427
When using tablePerHierarchy false, i lost subclass schema mapping and
consequently, get this error:
`Caused by: org.postgresql.util.PSQLException: ERROR: relation
"school_year_regular" does not exist`
```
class SchoolYear {
...
static mapping = {
table schema: 'agis'
discriminator column: "type"
tablePerHierarchy false
}
}
```
```
class SchoolYearRegular extends SchoolYear {
...
static mapping = {
table schema: 'agis'
discriminator "Regular"
}
}
```
### Environment Information
grailsVersion=4.0.8
gormVersion=7.0.4
gradleWrapperVersion=5.6.4
--
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]