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
|
// case of ToOne with @PrimaryKeyJoinColumn
|
||||||
keySelectableMapping = SelectableMappingImpl.from(
|
keySelectableMapping = SelectableMappingImpl.from(
|
||||||
tableExpression,
|
tableExpression,
|
||||||
table.getColumn( 0 ),
|
table.getPrimaryKey().getColumn( 0 ),
|
||||||
simpleFkTarget.getJdbcMapping(),
|
simpleFkTarget.getJdbcMapping(),
|
||||||
creationProcess.getCreationContext().getTypeConfiguration(),
|
creationProcess.getCreationContext().getTypeConfiguration(),
|
||||||
dialect,
|
dialect,
|
||||||
|
|
Loading…
Reference in New Issue