diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java b/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java index bbf7791418..7ac22d6d7c 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java @@ -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()