On 11/20/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: > Hi! > > I have an hypothetical question: > > say we have a node ParentNode that contains a ChildNode and also a property > referencing > (PropertyType.REFERENCE) the ChildNode. > > Is true that in the above scenario, without firstly deleting the parent > property, there is not other > chance to delete the ParentNode?
no. you only have to delete the parent node. assume the following: node n1 has child node n2 and a reference property p1 refering to n2. the following should succeed: n1.remove(); session.save(); cheers stefan > > thanks in advance > > ./alex > -- > .w( the_mindstorm )p. > > >