jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Esnault <f...@legisway.com>
Subject RE: jcr:deref() in predicate
Date Fri, 22 Jun 2007 09:28:17 GMT
Thansk I will because if we don't have, how can we do this query.

I want all contracts having as an internal contractor the company Lycos.
Knowing that contractors are references in the contract type.

I did /jcr:root/lgw:root/lgw:contracts/element(*, lgw:contractType)[jcr:deref(@lgw:internalContractor,
'lgw:contractorType')/@lgw:companyName = 'Lycos']

Is there antoher way to make this query?

Frédéric Esnault - Ingénieur R&D
Legisway
60 boulevard de la mission Marchand
92400 Courbevoie La Défense
 

-----Message d'origine-----
De : Marcel Reutegger [mailto:marcel.reutegger@gmx.net] 
Envoyé : vendredi 22 juin 2007 11:25
À : dev@jackrabbit.apache.org
Objet : Re: jcr:deref() in predicate

Frédéric Esnault wrote:
> Is it forbidden to put a jcr:deref in a predicate, knowing that we can use
> child nodes and properties?

jackrabbit does not support the jcr:deref function in a predicate.

please file a jira issue if you wish to see this enhancement in jackrabbit.

regards
  marcel

Mime
View raw message