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
parent 80bbea4283
commit 4100ee04c3
1 changed files with 5 additions and 0 deletions

View File

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