diff --git a/hibernate-core/src/main/java/org/hibernate/type/ComponentType.java b/hibernate-core/src/main/java/org/hibernate/type/ComponentType.java index 6a0facab97..2e88b902db 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/ComponentType.java +++ b/hibernate-core/src/main/java/org/hibernate/type/ComponentType.java @@ -90,6 +90,10 @@ public class ComponentType extends AbstractType implements CompositeType { this.tuplizerMapping = metamodel.getTuplizerMapping(); } + public boolean isKey() { + return isKey; + } + public EntityModeToTuplizerMapping getTuplizerMapping() { return tuplizerMapping; }