fix an exception message

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-07-21 15:31:20 +02:00
parent 5b2a87c5e8
commit 9263a26270
1 changed files with 1 additions and 1 deletions

View File

@ -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()
);
}