joemccall86 opened a new issue, #14557:
URL: https://github.com/apache/grails-core/issues/14557
### Task List
- [x] Steps to reproduce provided
- [x] Stacktrace (if present) provided
- [x] Example that reproduces the problem uploaded to Github
- [x] Full description of the issue provided (see below)
### Steps to Reproduce
In the context of the sample project, we have a "Drawing" entity that
contains a "Shape" entity. "Shape" is sub-typed to "Circle" in this case.
1. In a session, query the "Drawing" table using any method (where queries,
finders, etc)
2. Attempt to use `instanceof` on a "Shape" instance from the table
### Expected Behaviour
The shape instance should be `instanceof` Circle.
### Actual Behaviour
`instanceof Circle` returns false
### Environment Information
- **Operating System**: Fedora Linux Workstation 28
- **GORM Version:** 6.1.10.RELEASE, 6.0.12.RELEASE
- **Grails Version (if using Grails):** 3.2.13
- **JDK Version:** openjdk version "1.8.0_181"
### Example Application
- https://github.com/joemccall86/gorm-upgrade-instof
--
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]