mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +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 {
|
else {
|
||||||
|
|
||||||
final boolean isEqual = !entityEntry.getPersister().getIdentifierType()
|
final boolean isEqual = entityEntry.getPersister().getIdentifierType()
|
||||||
.isEqual( requestedId, entityEntry.getId(), factory );
|
.isEqual( requestedId, entityEntry.getId(), factory );
|
||||||
|
|
||||||
if ( isEqual ) {
|
if ( isEqual ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user