HHH-16233 Fix logs for mutable non-root entity
This commit is contained in:
parent
7bafc3c6e0
commit
24ec517b7c
|
@ -1188,7 +1188,7 @@ public class EntityBinder {
|
|||
if ( persistentClass instanceof RootClass ) {
|
||||
bindRootEntity();
|
||||
}
|
||||
else if ( isMutable() ) {
|
||||
else if ( !isMutable() ) {
|
||||
LOG.immutableAnnotationOnNonRoot( annotatedClass.getName() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue