On Nov 20, 2013, at 20:39 , Enrique Medina Montenegro <[email protected]> 
wrote:

> Bertrand,
> 
> Your algorithm is exactly the approach I followed, but I noticed a decrease
> in performance as the import was progressing, with response times to just
> lookup the exact path (i.e. session.getNode("/marks/XXX/YYY")) above 2
> seconds, even when calling Session.save() every 1000 or 500 or 100
> records...
> 
> Using Jackrabbit 2.7.0 btw, because it's the only one working with Spring
> Modules for JCR 0.8b

If you can sort the data in the SQL query on the RDBMS you should be able to do 
much less session.getNode() calls for getting the relevant parents for the mark 
to add. 

regards,
Lukas Kahwe Smith
[email protected]



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to