Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-15

[dbutils] Patch for extending BasicRowProcessor

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      The enclosed patch allows users to override mapColumnsToProperties() by
      extending BasicRowProcessor.

      This provides a workaround for the existing assumption in DbUtils that all
      JavaBean properties have the exact same name as their associated database columns.

        Activity

        Hide
        Corby Page added a comment -

        Created an attachment (id=9400)
        [DbUtils] Adding extension point to BasicRowProcessor

        Show
        Corby Page added a comment - Created an attachment (id=9400) [DbUtils] Adding extension point to BasicRowProcessor
        Hide
        David Graham added a comment -

        Fixed but I used your original suggestion and placed mapColumnsToProperties in
        the ColumnProcessor interface.

        Show
        David Graham added a comment - Fixed but I used your original suggestion and placed mapColumnsToProperties in the ColumnProcessor interface.

          People

          • Assignee:
            Unassigned
            Reporter:
            Corby Page
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development