mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
correct an obvious coding bug
This commit is contained in:
parent
b1d7bad4ef
commit
86a8106696
@ -123,7 +123,7 @@ protected Object entityIsPersistent(SaveOrUpdateEvent event) throws HibernateExc
|
||||
}
|
||||
else {
|
||||
|
||||
final boolean isEqual = !entityEntry.getPersister().getIdentifierType()
|
||||
final boolean isEqual = entityEntry.getPersister().getIdentifierType()
|
||||
.isEqual( requestedId, entityEntry.getId(), factory );
|
||||
|
||||
if ( isEqual ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user