yes you are absolutly right but i have tested this and now i want to know
if it is possible to search with contains function for uuid's
the real search looks like this
SELECT * FROM nt:base WHERE contains(jcr:uuid,
'4778158b-4de1-4ab9-9feb-a1f8987a830d or 5bdf25fd-9737-4125-9507-ba5ac002945c '
)
BR
claus
-----Ursprüngliche Nachricht-----
Von: Norbert Dreisiebner [mailto:norb...@hms.org]
Gesendet: Mittwoch, 17. Oktober 2007 11:45
An: use...@jackrabbit.apache.org
Betreff: AW: another search question ...
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.KO...@TIROL.GV.AT]
Gesendet: Mittwoch, 17. Oktober 2007 11:27
An: use...@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