From e33bcfcf81647bbc776f2a4247f892de1b597776 Mon Sep 17 00:00:00 2001 From: Marco Belladelli Date: Thu, 11 Jul 2024 16:10:59 +0200 Subject: [PATCH] HHH-18382 Fix embeddable disc-formula insertable / updatable flags --- .../metamodel/mapping/internal/EmbeddableMappingTypeImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 703d01afc2..cd5ce395ae 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 @@ -766,8 +766,8 @@ public class EmbeddableMappingTypeImpl extends AbstractEmbeddableMapping impleme bootDescriptor.getTable().getName(), discriminatorColumnExpression, isFormula, - true, - true, + !isFormula, + !isFormula, columnDefinition, selectable.getCustomReadExpression(), length,