Hello,

I'm working on a method that deletes some documents using the "removeItem"
method from Sessions(link
<https://jackrabbit.apache.org/api/1.6/org/apache/jackrabbit/api/jsr283/Session.html#removeItem(java.lang.String)>).
First the method searchs the documents that needs to be deleted and then it
iterates over the list and deletes each one of them and saves the session
inside the loop. Since we are using a cluster of jackrabbit instances we
are getting some conflicts. I wanted to know if there is a recommendation
on where the save session should be(inside the loop or after the loop)?

Thanks,

Gabriela

Reply via email to