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 bda41ec0b9
commit 670db01c9a
1 changed files with 1 additions and 1 deletions

View File

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