Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-48

WildcardExpression in XMLPS generates incorrect SQL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.1-incubating
    • xmlps
    • None
    • testing with CHLA

    Description

      As it turns out the WildcardExpression in XMLPS incorrectly generates SQL where clauses of the form:

      WHERE
        <term> LIKE %'<value>'%
      

      instead of:

      WHERE
        <term> LIKE '%<value>%'
      

      No one is screaming about it yet, but they will so I'll fix it.

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: