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

View File

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