HHH-16612 Use qualified table name for embeddable mappings

This commit is contained in:
Cedomir Igaly 2023-05-29 12:06:30 +02:00 committed by Marco Belladelli
parent a510cae655
commit 87ae48a58a
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ public class EmbeddableMappingTypeImpl extends AbstractEmbeddableMapping impleme
updatable = componentProperty.isUpdateable(); updatable = componentProperty.isUpdateable();
} }
this.aggregateMapping = SelectableMappingImpl.from( this.aggregateMapping = SelectableMappingImpl.from(
bootDescriptor.getOwner().getTable().getName(), bootDescriptor.getOwner().getTable().getQualifiedName( creationContext.getSqlStringGenerationContext() ),
aggregateColumn, aggregateColumn,
bootDescriptor.getParentAggregateColumn() != null bootDescriptor.getParentAggregateColumn() != null
? bootDescriptor.getParentAggregateColumn().getSelectablePath() ? bootDescriptor.getParentAggregateColumn().getSelectablePath()