correct an obvious coding bug
This commit is contained in:
parent
b1d7bad4ef
commit
86a8106696
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue