From 9263a262703d5d583cb43938ac3988bbd216f8a1 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sun, 21 Jul 2024 15:31:20 +0200 Subject: [PATCH] fix an exception message Signed-off-by: Gavin King --- .../main/java/org/hibernate/engine/internal/Collections.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java b/hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java index 84cc70798b..8f0ef0e312 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java @@ -94,7 +94,7 @@ public final class Collections { //only collections belonging to deleted entities are allowed to be dereferenced in the case of orphan delete if ( e != null && !e.getStatus().isDeletedOrGone() ) { throw new HibernateException( - "A collection with cascade=\"all-delete-orphan\" was no longer referenced by the owning entity instance: " + + "A collection with orphan deletion was no longer referenced by the owning entity instance: " + loadedPersister.getRole() ); }