U47 opened a new issue, #14644:
URL: https://github.com/apache/grails-core/issues/14644
**Grails 3.1.1, against an Oracle database**
When mapping a table-per-subclass strategy with a schema specified, the
schema is picked up by the superclass, but not by the subclass. See below.
**class A**
```
mapping= {
table(schema: 'WOOT', name 'A')
tablePerHierarchy(false)
}
```
**class B extends A**
```
mapping= {
table(schema: 'WOOT', name: 'B')
}
```
**B.read(1)** results in:
`Hibernate: select ... from B this_ inner join WOOT.A this_1_`
Class B _does not_ have the schema prepended in the SQL statement.
--
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]