Hello,
i am attempting to use NeoDatis to store binary trees composed of nodes that reference unique expression objects. in our business domain, the nodes of different trees can reference the same unique expression object. So let's say Node1 from Tree1 and Node2 from Tree2 are referencing the same expression object. If i do a cascading delete on Tree1, is Node2's reference to the common object still valid? Does neodatis perform some kind of reference-counting where it only deletes objects if there are no more references to them (that would be ideal for me)?
_ryan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i am attempting to use NeoDatis to store binary trees composed of nodes that reference unique expression objects. in our business domain, the nodes of different trees can reference the same unique expression object. So let's say Node1 from Tree1 and Node2 from Tree2 are referencing the same expression object. If i do a cascading delete on Tree1, is Node2's reference to the common object still valid? Does neodatis perform some kind of reference-counting where it only deletes objects if there are no more references to them (that would be ideal for me)?
_ryan
Hi Ryan,
No, NeoDatis does not have this kind of logic. you will have to do it manually :-(
Thanks,
Olivier
This is related to the object-reference-integrity feature request (https://sourceforge.net/tracker/index.php?func=detail&aid=1868068&group_id=179124&atid=887888)
If this feature were added my problem would be solved. I will add my comments to that thread (i just found it)
_ryan