jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Merino <donvo...@gmail.com>
Subject Remove child nodes while iterating them
Date Fri, 28 Nov 2008 08:07:02 GMT
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

Mime
View raw message