[ 
https://issues.apache.org/jira/browse/JCR-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clemens Wyss updated JCR-2815:
------------------------------

    Component/s: query

>  SQL query on Name property which starts with a number, does not match
> ----------------------------------------------------------------------
>
>                 Key: JCR-2815
>                 URL: https://issues.apache.org/jira/browse/JCR-2815
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 2.1.1
>            Reporter: Clemens Wyss
>
> 1) Create a (nt:unstrutured) node in the repo
> 2) Add a Name property (e.g. nameProperty)
> If the Name-property contains a text which doesn't start with a numer, e.g. 
> "hello" then
> >select * from nt:unstructured where nameProperty = 'hello'
> returns the given node.
> BUT if the the text of the Name-property starts with a number, e.g. "2hello" 
> >select * from nt:unstructured where nameProperty = '2hello'
> or
> >select * from nt:unstructured where nameProperty like '%hello'
> NO MATCHING NODE IS RETURNED

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to