Fix ToOneAttributeMapping tableGroup creation
This commit is contained in:
parent
fa694c5d41
commit
d616f2aa55
|
@ -415,7 +415,6 @@ public class LoaderSelectBuilder {
|
|||
}
|
||||
else if ( part instanceof ToOneAttributeMapping ) {
|
||||
final ToOneAttributeMapping toOneAttributeMapping = (ToOneAttributeMapping) part;
|
||||
if ( toOneAttributeMapping.getSideNature() == ForeignKeyDescriptor.Nature.TARGET ) {
|
||||
final TableGroupJoin tableGroupJoin = toOneAttributeMapping.createTableGroupJoin(
|
||||
navigablePath,
|
||||
rootTableGroup,
|
||||
|
@ -430,10 +429,6 @@ public class LoaderSelectBuilder {
|
|||
else {
|
||||
tableGroup = rootTableGroup;
|
||||
}
|
||||
}
|
||||
else {
|
||||
tableGroup = rootTableGroup;
|
||||
}
|
||||
domainResults.add(
|
||||
part.createDomainResult(
|
||||
navigablePath,
|
||||
|
|
Loading…
Reference in New Issue