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

ESCAPE '\' is appended to the like clause unexpectedly

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment