I have a problem when a 1 - N relation is broken. For some reason the 1 entity bean is removed but the cascading delete doesn't remove the beans on the N side.
The source of the problem could be that somebody removed that entry directly from the database. If I then try to remove the N entities I get a Rollback Exception that originates from a NoSuchLocalObjectException.
This should never happen but it does and I get objects in the database that I can't remove.
I tried to set the relation to null and do a remove again but it doesn't work. The exception still occurs. Is it possible to recover from this situation!?