Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2282

ESCAPE '\' is appended to the like clause unexpectedly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: sql
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When I run the unit test on TestEJBQLCondExpression.testLikeExpr, I noticed that ESCAPE '\' is appended to the like clause unexpectedly. This could cause the wrong query result.

        Attachments

        1. OPENJPA-2282Doc.patch
          2 kB
          Helen Xu
        2. OPENJPA-2282.patch
          7 kB
          Helen Xu

          Issue Links

            Activity

              People

              • Assignee:
                helenxu Helen Xu
                Reporter:
                helenxu Helen Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: