diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/Component.java b/hibernate-core/src/main/java/org/hibernate/mapping/Component.java index 7cdbf7c3b2..a2b9773d46 100644 --- a/hibernate-core/src/main/java/org/hibernate/mapping/Component.java +++ b/hibernate-core/src/main/java/org/hibernate/mapping/Component.java @@ -772,6 +772,9 @@ public class Component extends SimpleValue implements MetaAttributable, Sortable private boolean isSimpleRecord() { // A simple record is given, when the properties match the order of the record component names final Class componentClass = resolveComponentClass(); + if ( customInstantiator != null ) { + return false; + } if ( componentClass == null || !ReflectHelper.isRecord( componentClass ) ) { return false; }