correct an obvious coding bug

This commit is contained in:
Nathan Xu 2020-02-10 08:32:11 -05:00 committed by Steve Ebersole
parent b1d7bad4ef
commit 86a8106696
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class DefaultSaveOrUpdateEventListener extends AbstractSaveEventListener
}
else {
final boolean isEqual = !entityEntry.getPersister().getIdentifierType()
final boolean isEqual = entityEntry.getPersister().getIdentifierType()
.isEqual( requestedId, entityEntry.getId(), factory );
if ( isEqual ) {