Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2403

Unexpected behavior from like operand

    XMLWordPrintable

Details

    Description

      Not sure if this behavior is supposed to happen, but let's say I have a String property P on nodetype N. There is a node N with property P = 'Capital0'

      The following query does not find this node: (as expected)

      select [P] from [N] where [N].[P] like 'capital%'
      

      The following query however, does:

      select [P] from [N] where [N].[P] like '%capital%'
      

      Which I did not expect, so I'm thinking this might a bug.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            wesssel Wessel Nieboer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: