Skip to content

Commit 93af5f2

Browse files
committed
HHH-18712 Warning about attempts to update an immutable entity for normal (not immutable) entity
1 parent 8b5bc44 commit 93af5f2

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
@@ -223,4 +223,9 @@ public String getMappedSuperclass() {
223223
public Type getDiscriminatorType() {
224224
return factory.getTypeConfiguration().getBasicTypeForJavaType(String.class);
225225
}
226+
227+
@Override
228+
public boolean isMutable() {
229+
return true;
230+
}
226231
}

0 commit comments

Comments
 (0)