ObjectDB ObjectDB

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) ?

 

edit
delete
#2

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

ObjectDB Support
edit
delete
#3

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

edit
delete
#4

Currently not but such an option can be added.

ObjectDB Support
edit
delete
#5

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

edit
delete
#6

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

ObjectDB Support
edit
delete
#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 <old-file> <new-file>
ObjectDB Support
edit
delete
#8

Perfect, thanks

edit
delete

Reply

To post on this website please sign in.