Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.13.2
    • Fix Version/s: 2.12.5, 2.13.3, 2.14.0
    • Component/s: camel-jdbc
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      DefaultBeanRowMapper current version does not upper-case when it should, due to what appears to be a copy paste error (note the toLowerCase in both branches)

      if (toUpper) {
      char upper = Character.toLowerCase(ch);
      sb.append(upper);
      // reset flag
      toUpper = false;
      } else {
      char lower = Character.toLowerCase(ch);
      sb.append(lower);
      }

      should be

      if (toUpper) {
      char upper = Character.toUpperCase(ch);
      sb.append(upper);
      // reset flag
      toUpper = false;
      } else {
      char lower = Character.toLowerCase(ch);
      sb.append(lower);
      }

        Attachments

        1. patchfile.txt
          0.4 kB
          Nathan Wray

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              nathanwray Nathan Wray
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: