jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Edelson <justinedel...@gmail.com>
Subject Re: query node by node identifier
Date Mon, 30 Aug 2010 17:30:09 GMT
Why not just use session.getNodeByIdentifier() ?

If you need to use query, I'm pretty sure you'll have to use jcr:uuid as
the property name. This would only be useable with mix:referenceable nodes.

Justin

On 8/30/10 1:12 PM, JOSE FELIX HERNANDEZ BARRIO wrote:
> hi,
> 
> i'm trying to extract a node from the repository given de node identifier
> (the one returned by node.getIdentifier)
> i've tried:
> //*[@jcr:identifier='abbe81d4-5d5b-457e-901f-7ffdb0cef7fa']
> 
> with no results
> 
> any tip?
> 


Mime
View raw message