Never mind, removing them from the parent node and then updating it seems to be the way to go.

Edgar Merino





Edgar Merino escribió:
Hello,

Thanks for the replies on previous messages. OCM is working fine, but I've noticed that when calling ObjectContentManager#remove(Object obj) it removes the node from the underlaying session, if this is done while iterating a collection I get a PathNotFoundException, since the path of the objects in the collection does not correspond to the actual paths of the nodes within the session. Is there anyway I can avoid this (without creating a Query)?

Thanks in advance,
Edgar Merino


Reply via email to