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

trimStringColumns in DB2Dictionary does not work as expected

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: docs, kernel, sql
    • Labels:
      None

      Description

      Doku (http://openjpa.apache.org/builds/2.2.1/apache-openjpa/docs/ref_guide_dbsetup_dbsupport.html) states:
      TrimStringColumns: When true, the resulting String from ResultSet.getString will be trimmed of trailing white space. Defaults to false.

      Instead of String.rtrim() the implementation calls String.trim() and removes leading whitespaces as well.

      Please fix documentation and if possible add an additional property RTrimStringColumns which only trims trailing whitespaces.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              christoph@ewerlin.com Christoph Ewerlin

              Dates

              • Created:
                Updated:

                Issue deployment