Home » Support » Forum » The exception "Attempt to remove a detached entity object" have no information about the entity

The exception "Attempt to remove a detached entity object" have no information about the entity

#1

Hello,

the exception "Attempt to remove a detached entity object" have no information about the detached entity.

It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity.

 

It would be very helpful if you can add a few information to the Exception.

Maybe: The class of the Entity and the id (Field annotated with @ID), or just the String representation of the entity.

#2

Build 2.7.0_02 improves the error message in these exception to include the information as your suggestion.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
#3

Thank you very much. That's very helpful.
 


Post Reply

To post a reply and/or subscribe to update notifications - please login