Are there any plans to maybe extend this in near future ? When you have a Lucene query that should return some properties, you get 100 hits and none were cached I think it can make quite a difference performance-wise if there will be 100 DB queries or 1, couldn't it ?
Regards, Kevin -----Ursprüngliche Nachricht----- Von: Alexander Klimetschek [mailto:[email protected]] Gesendet: Dienstag, 17. Januar 2012 23:54 An: [email protected] Betreff: Re: Bulk load of several nodes On 16.01.12 13:51, "Lukas Kahwe Smith" <[email protected]> wrote: >checkout http://java.net/jira/browse/JSR_333-38 > >the necessary changes have already been applied in Jackrabbit 2.3.x I don't know if they actually map to a similar batch method on the persistence manager (^= database access in the OP case). In any case, it does not change the situation for jcr queries - the nodes will already be fetched (individually) when you ask for a row or its path or its node. The above method was probably introduced for remote clients, such as JCR-RMI or SPI/dav, which are all way above the persistence manager layer. Cheers, Alex -- Alexander Klimetschek Developer // Adobe (Day) // Berlin - Basel
