HHH-16233 Fix logs for mutable non-root entity

This commit is contained in:
shin-mallang 2023-02-27 12:07:47 +09:00 committed by Christian Beikov
parent 7bafc3c6e0
commit 24ec517b7c
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ public class EntityBinder {
if ( persistentClass instanceof RootClass ) {
bindRootEntity();
}
else if ( isMutable() ) {
else if ( !isMutable() ) {
LOG.immutableAnnotationOnNonRoot( annotatedClass.getName() );
}