fix an exception message
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
5b2a87c5e8
commit
9263a26270
|
@ -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()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue