jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norbert Dreisiebner" <norbert.dreisieb...@hms.org>
Subject AW: another search question ...
Date Wed, 17 Oct 2007 09:45:00 GMT
Hi claus,

wouldn't it be easier to use getNodeByUUID('4778158b-4de1-4ab9-9feb-a1f8987a830d') to find
the specific node?

Best regards,
norbert

-----Ursprüngliche Nachricht-----
Von: KÖLL Claus [mailto:C.KOELL@TIROL.GV.AT] 
Gesendet: Mittwoch, 17. Oktober 2007 11:27
An: users@jackrabbit.apache.org
Betreff: another search question ...

hi,

if i search like this to find a node with the given uuid i get the node
SELECT * FROM nt:base WHERE jcr:uuid = '4778158b-4de1-4ab9-9feb-a1f8987a830d'

but if i try to find it with contains, i get a empty result
SELECT * FROM nt:base WHERE contains(jcr:uuid, '4778158b-4de1-4ab9-9feb-a1f8987a830d' )

is it not possible to search for uuid's with the contains function ?

thanks for help
claus

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 16.10.2007 14:14
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date: 16.10.2007 14:14
 

Mime
View raw message