Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-2815

SQL query on Name property which starts with a number, does not match

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: query
    • Labels:
      None

      Description

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Clemens Wyss
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development