Question: remove and recreate an object, do the references survive ?

#1

We want to move unused objects to a second database. We want to copy the objects and delete them in the production database.

If we then recreate the objects with the same primary key as it has been before, do the references from other objects survive this (assuming that no Doctor is done in between that would remove the orphane references) ?

 

#2

References should survive and become valid again. Better test before, of course.

ObjectDB Support
#3

is there an option to run Doctor without cleaning the orphane objects ?

#4

Currently not but such an option can be added.

ObjectDB Support
#5

would be great. this way we could make our moving of objects between the databases consistent

#6

We hope to release a version with this option next week.

ObjectDB Support
#7

Build 2.7.5_06 adds an option to disable broken reference cleaning.

Run the Doctor with this

> java -Dobjectdb.temp.no-broken-ref-fix=true Doctor -file> >
ObjectDB Support
#8

Perfect, thanks

Reply