Skip to content

Commit

Permalink
HHH-16233 Fix logs for mutable non-root entity
Browse files Browse the repository at this point in the history
  • Loading branch information
shin-mallang authored and gavinking committed Feb 27, 2023
1 parent c7a6516 commit 3edb588
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ public void bindEntity() {
if ( persistentClass instanceof RootClass ) {
bindRootEntity();
}
else if ( isMutable() ) {
else if ( !isMutable() ) {
LOG.immutableAnnotationOnNonRoot( annotatedClass.getName() );
}

Expand Down

0 comments on commit 3edb588

Please sign in to comment.