diff --git a/hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java b/hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java index 676589b4cc..5f8d0b5875 100644 --- a/hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/type/TypeHelper.java @@ -207,7 +207,7 @@ public class TypeHelper { copyCache, foreignKeyDirection ); - if ( target[i] != null && objects != null ) { + if ( componentType.isMutable() && target[i] != null && objects != null ) { componentType.setPropertyValues( target[i], objects ); } copied[i] = target[i];