Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 524b2982cf9d5fb6ed4f5883395cc10ba28026ca
https://github.com/hibernate/hibernate-orm/commit/524b2982cf9d5fb6ed4f588...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-08-20 (Fri, 20 Aug 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/EntityResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultInitializer.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/discriminator/joined/DiscriminatorQueryUsageTests.java
Log Message:
-----------
discriminator work
- Handle discriminator as Fetch for entity ResultGraphNodes. This allows us to make the
distinction about whether to handle the discriminator as `Class` or as its
"underlying" type when selecting it. Fetches return the underlying type.
DomainResults return `Class`, or String for entity-named entity mappings