Skip to content

Commit 4100ee0

Browse files
committed
HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity
1 parent 80bbea4 commit 4100ee0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockEntityPersister.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,9 @@ public boolean consumesEntityAlias() {
255255
public Type getDiscriminatorType() {
256256
return factory.getTypeConfiguration().getBasicTypeForJavaType(String.class);
257257
}
258+
259+
@Override
260+
public boolean isMutable() {
261+
return true;
262+
}
258263
}

0 commit comments

Comments
 (0)