HHH-15622 Query bug in @NamedEntityGraph when doing Eager loading of @OneToOne mappings in Single Table inheritance
This commit is contained in:
parent
a4f2c936dc
commit
dd1bd43846
|
@ -1006,7 +1006,7 @@ public class MappingModelCreationHelper {
|
|||
// case of ToOne with @PrimaryKeyJoinColumn
|
||||
keySelectableMapping = SelectableMappingImpl.from(
|
||||
tableExpression,
|
||||
table.getColumn( 0 ),
|
||||
table.getPrimaryKey().getColumn( 0 ),
|
||||
simpleFkTarget.getJdbcMapping(),
|
||||
creationProcess.getCreationContext().getTypeConfiguration(),
|
||||
dialect,
|
||||
|
|
Loading…
Reference in New Issue