jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: SQL2 (via davex)
Date Wed, 10 Aug 2011 09:02:32 GMT
Hi,

On Wed, Aug 10, 2011 at 10:41 AM, Lukas Kahwe Smith <mls@pooteeweet.org> wrote:
> i do not understand why Jackrabbit hasnt implemented access to the path in SQL2.

The more specific ISSAMENODE, ISCHILDNODE and ISDESCENDANTNODE
constraints in SQL2 were designed to replace the rather vague
"jcr:path LIKE ..." construct in SQL1.

Regarding your specific use case: If you need a simple way to query
for all the day nodes, you could use a specific node type or a marker
mixin for all those nodes. Then you could simply use a query like
SELECT * FROM [my:day].

BR,

Jukka Zitting

Mime
View raw message