ObjectDB ObjectDB

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.

edit
delete
#2

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

ObjectDB Support
edit
delete
#3

Thank you very much. That's very helpful.
 

edit
delete

Reply

To post on this website please sign in.