Menu

object trees and common object references

Help Java
_ryan
2011-10-15
2013-05-29
  • _ryan

    _ryan - 2011-10-15

    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

     
  • Olivier

    Olivier - 2011-10-16

    Hi Ryan,

    No, NeoDatis does not have this kind of logic. you will have to do it manually :-(

    Thanks,
    Olivier

     
  • _ryan

    _ryan - 2011-10-17

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.