HHH-17161 Align `StandardTableGroup` table reference join name checks
This commit is contained in:
parent
a7b97f25fa
commit
3226679898
|
@ -334,7 +334,7 @@ public abstract class AbstractEntityCollectionPart implements EntityCollectionPa
|
||||||
primaryTableReference,
|
primaryTableReference,
|
||||||
true,
|
true,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
(tableExpression) -> getEntityMappingType().containsTableReference( tableExpression ),
|
getEntityMappingType().getRootEntityDescriptor()::containsTableReference,
|
||||||
(tableExpression, tg) -> getEntityMappingType().createTableReferenceJoin(
|
(tableExpression, tg) -> getEntityMappingType().createTableReferenceJoin(
|
||||||
tableExpression,
|
tableExpression,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
|
|
|
@ -2318,7 +2318,7 @@ public class ToOneAttributeMapping
|
||||||
primaryTableReference,
|
primaryTableReference,
|
||||||
true,
|
true,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
(tableExpression) -> getEntityMappingType().containsTableReference( tableExpression ),
|
getEntityMappingType().getRootEntityDescriptor()::containsTableReference,
|
||||||
(tableExpression, tg) -> getEntityMappingType().createTableReferenceJoin(
|
(tableExpression, tg) -> getEntityMappingType().createTableReferenceJoin(
|
||||||
tableExpression,
|
tableExpression,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
|
|
|
@ -3024,7 +3024,7 @@ public abstract class AbstractEntityPersister
|
||||||
rootTableReference,
|
rootTableReference,
|
||||||
true,
|
true,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
(tableExpression) -> getRootEntityDescriptor().containsTableReference( tableExpression ),
|
getRootEntityDescriptor()::containsTableReference,
|
||||||
(tableExpression, tg) -> {
|
(tableExpression, tg) -> {
|
||||||
final String[] subclassTableNames = getSubclassTableNames();
|
final String[] subclassTableNames = getSubclassTableNames();
|
||||||
for ( int i = 0; i < subclassTableNames.length; i++ ) {
|
for ( int i = 0; i < subclassTableNames.length; i++ ) {
|
||||||
|
|
|
@ -430,7 +430,7 @@ public class AnonymousTupleEntityValuedModelPart
|
||||||
primaryTableReference,
|
primaryTableReference,
|
||||||
true,
|
true,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
entityMappingType::containsTableReference,
|
entityMappingType.getRootEntityDescriptor()::containsTableReference,
|
||||||
(tableExpression, tg) -> entityMappingType.createTableReferenceJoin(
|
(tableExpression, tg) -> entityMappingType.createTableReferenceJoin(
|
||||||
tableExpression,
|
tableExpression,
|
||||||
sqlAliasBase,
|
sqlAliasBase,
|
||||||
|
|
Loading…
Reference in New Issue