mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-28 23:09:13 +00:00
HHH-16233 Fix logs for mutable non-root entity
This commit is contained in:
parent
7bafc3c6e0
commit
24ec517b7c
@ -1188,7 +1188,7 @@ public void bindEntity() {
|
||||
if ( persistentClass instanceof RootClass ) {
|
||||
bindRootEntity();
|
||||
}
|
||||
else if ( isMutable() ) {
|
||||
else if ( !isMutable() ) {
|
||||
LOG.immutableAnnotationOnNonRoot( annotatedClass.getName() );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user