HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity
This commit is contained in:
parent
80bbea4283
commit
4100ee04c3
|
@ -255,4 +255,9 @@ public abstract class MockEntityPersister implements EntityPersister, Queryable,
|
||||||
public Type getDiscriminatorType() {
|
public Type getDiscriminatorType() {
|
||||||
return factory.getTypeConfiguration().getBasicTypeForJavaType(String.class);
|
return factory.getTypeConfiguration().getBasicTypeForJavaType(String.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isMutable() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue