HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity

This commit is contained in:
Andrea Boriero 2024-10-16 16:31:09 +02:00 committed by Andrea Boriero
parent 8b5bc445c8
commit 93af5f2fb1
1 changed files with 5 additions and 0 deletions

View File

@ -223,4 +223,9 @@ public abstract class MockEntityPersister implements EntityPersister, Joinable,
public Type getDiscriminatorType() {
return factory.getTypeConfiguration().getBasicTypeForJavaType(String.class);
}
@Override
public boolean isMutable() {
return true;
}
}