OpenJPA
  1. OpenJPA
  2. OPENJPA-2282

ESCAPE '\' is appended to the like clause unexpectedly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development