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-2282Doc.patch
        2 kB
        Helen Xu
      2. OPENJPA-2282.patch
        7 kB
        Helen Xu

        Issue Links

          Activity

          Helen Xu created issue -
          Helen Xu made changes -
          Field Original Value New Value
          Attachment OPENJPA-2282.patch [ 12550469 ]
          Helen Xu made changes -
          Attachment OPENJPA-2282Doc.patch [ 12553374 ]
          Milosz Tylenda made changes -
          Link This issue is related to OPENJPA-975 [ OPENJPA-975 ]
          Helen Xu made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.3.0 [ 12319463 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development