jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: XPath versus SQL in Jackrabbit
Date Sat, 02 Jun 2007 09:38:39 GMT
gsoap wrote:
> I want to know which one of XPath/SQL is fastest (optimal) while using
> Jackrabbit?

they are both equally fast.

> Does jackrabbit first translates SQL into XPath before execution?

no, both syntaxes are first translated into a jackrabbit internal query tree 
representation and then executed.

> Is there any underlying overhead of translation between XPath or SQL or vice
> versa?

jackrabbit does not translate between the two languages. or do you want to 
translate statements in your application?

regards
  marcel

Mime
View raw message