From 4a7f9ec0d67b83fb0c66092527c0a56f1c45caf4 Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Sat, 16 May 2020 19:30:01 +0100 Subject: [PATCH] HHH-14026 Change scope to protected for SessionImple#verifyImmutableEntityUpdate --- .../src/main/java/org/hibernate/internal/SessionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java index ecdd0aff04..423cba01e8 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java @@ -1435,7 +1435,7 @@ public class SessionImpl return result; } - private void verifyImmutableEntityUpdate(HQLQueryPlan plan) { + protected void verifyImmutableEntityUpdate(HQLQueryPlan plan) { if ( plan.isUpdate() ) { List primaryFromClauseTables = new ArrayList<>(); for ( QueryTranslator queryTranslator : plan.getTranslators() ) {