From 9bbac655238cae9b2df36b53e808befe30f0c1d4 Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Mon, 2 Oct 2023 10:07:27 +0200 Subject: [PATCH] HHH-17281 Make EntityUpdateAction#handleDeleted protected --- .../org/hibernate/action/internal/EntityUpdateAction.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java b/hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java index 7401cb7443..a1281c391a 100644 --- a/hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java +++ b/hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java @@ -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 ) { final EntityMetamodel entityMetamodel = getPersister().getEntityMetamodel(); final boolean isImpliedOptimisticLocking = !entityMetamodel.isVersioned()