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();
}
this.aggregateMapping = SelectableMappingImpl.from(
bootDescriptor.getOwner().getTable().getName(),
bootDescriptor.getOwner().getTable().getQualifiedName( creationContext.getSqlStringGenerationContext() ),
aggregateColumn,
bootDescriptor.getParentAggregateColumn() != null
? bootDescriptor.getParentAggregateColumn().getSelectablePath()