A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Object Relational Mapping
collection with cascade="all-delete-orphan" was no longer...
Joined: Jan 10, 2007
Aug 26, 2008 11:23:00
working with jboss4.2and JPA.
i have a detached entity.
and i call to em.merge
when i add - cascade delete orphan annotation i get the following exception:
collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance
I searched in google and in the forum (
) and i saw that the reason for this exception is when you have "unstandard setters for collection", but all my collection setters are simple setters.
does any one has another idea?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: collection with cascade="all-delete-orphan" was no longer...
2nd Level cache eviction not cascading
Hibernate - ObjectDeletedException: deleted object would be re-saved by cascade...
org.hibernate.Criteria: field ROOT_ENTITY not found
Implementing object versioning with Hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015