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:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 17. Oktober 2007 11:27
An: [email protected]
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
 

Reply via email to