HHH-17281 Make EntityUpdateAction#handleDeleted protected

This commit is contained in:
Davide D'Alto 2023-10-02 10:07:27 +02:00 committed by Christian Beikov
parent bc02c7781d
commit 9bbac65523
1 changed files with 4 additions and 1 deletions

View File

@ -256,7 +256,10 @@ public class EntityUpdateAction extends EntityAction {
} }
} }
private void handleDeleted(EntityEntry entry) { /*
* Used by Hibernate Reactive
*/
protected void handleDeleted(EntityEntry entry) {
if ( entry.getStatus() == Status.DELETED ) { if ( entry.getStatus() == Status.DELETED ) {
final EntityMetamodel entityMetamodel = getPersister().getEntityMetamodel(); final EntityMetamodel entityMetamodel = getPersister().getEntityMetamodel();
final boolean isImpliedOptimisticLocking = !entityMetamodel.isVersioned() final boolean isImpliedOptimisticLocking = !entityMetamodel.isVersioned()