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