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 68afa5607f
commit fa9bdac794
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()