jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nuescheler" <david.nuesche...@gmail.com>
Subject better sql performance? [was: Re: poll on jcr query usage]
Date Mon, 02 Apr 2007 10:10:39 GMT
hi christoph,

> I'm mostly using XPath, but SQL gives me better performance if I only need a
> particular property of a node in the result set.
can you elaborate on this? it would be great to have more background
information on this...

afaik, there should not be any difference in performance, and for example
"//element(*, nt:resource)/(@jcr:lastModified)" should be equivalent to
"select jcr:lastModified from nt:resource"

regards,
david

Mime
View raw message