Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-29

[dbutils] Support bean property to SQL IN parameter mapping

    Details

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

      Operating System: other
      Platform: Other

      Description

      This commons-dev message brings up interesting points:
      http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg36011.html

      Providing a way to map bean properties to SQL IN parameters would round out the
      bean functionality. We already have ResultSet columns being transferred to bean
      properties; why not transfer the other way as well?

        Issue Links

          Activity

          David Graham created issue -
          Henri Yandell made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 27531 12341321
          Henri Yandell made changes -
          Component/s DbUtils [ 12311110 ]
          Affects Version/s 1.0 Final [ 12311651 ]
          Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
          Key COM-1169 DBUTILS-29
          Project Commons [ 12310458 ] Commons DbUtils [ 12310470 ]
          Henri Yandell made changes -
          Affects Version/s 1.0 Final [ 12311724 ]
          Henri Yandell made changes -
          Fix Version/s 1.2 [ 12312139 ]
          Dan Fabulich made changes -
          Link This issue is duplicated by DBUTILS-47 [ DBUTILS-47 ]
          Hide
          Dan Fabulich added a comment -

          DBUTILS-47 suggests a nice implementation for this using a StatementFiller interface.

          Show
          Dan Fabulich added a comment - DBUTILS-47 suggests a nice implementation for this using a StatementFiller interface.
          Dan Fabulich made changes -
          Link This issue duplicates DBUTILS-43 [ DBUTILS-43 ]
          Hide
          Dan Fabulich added a comment -

          DBUTILS-43 goes further and provides an implementation

          Show
          Dan Fabulich added a comment - DBUTILS-43 goes further and provides an implementation
          Hide
          Henri Yandell added a comment -

          svn ci -m "Merging in Dab Fabulich's work on https://svn.apache.org/repos/asf/commons/sandbox/dbutils/bugfixing from -r741987:747723. Resolving DBUTILS-34 - DBUTILS-37 - DBUTILS-29 - DBUTILS-14 - DBUTILS-31 - DBUTILS-39 - DBUTILS-41 - DBUTILS-44 - DBUTILS-33 - DBUTILS-42 - DBUTILS-40"

          Sending pom.xml
          Sending src/java/org/apache/commons/dbutils/BasicRowProcessor.java
          Sending src/java/org/apache/commons/dbutils/BeanProcessor.java
          Sending src/java/org/apache/commons/dbutils/QueryRunner.java
          Adding src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java
          Sending src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java
          Sending src/java/org/apache/commons/dbutils/handlers/BeanListHandler.java
          Sending src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java
          Deleting src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java
          Sending src/java/org/apache/commons/dbutils/handlers/MapListHandler.java
          Sending src/test/org/apache/commons/dbutils/BaseTestCase.java
          Adding src/test/org/apache/commons/dbutils/QueryRunnerTest.java
          Transmitting file data .........
          Committed revision 747724.

          Show
          Henri Yandell added a comment - svn ci -m "Merging in Dab Fabulich's work on https://svn.apache.org/repos/asf/commons/sandbox/dbutils/bugfixing from -r741987:747723. Resolving DBUTILS-34 - DBUTILS-37 - DBUTILS-29 - DBUTILS-14 - DBUTILS-31 - DBUTILS-39 - DBUTILS-41 - DBUTILS-44 - DBUTILS-33 - DBUTILS-42 - DBUTILS-40 " Sending pom.xml Sending src/java/org/apache/commons/dbutils/BasicRowProcessor.java Sending src/java/org/apache/commons/dbutils/BeanProcessor.java Sending src/java/org/apache/commons/dbutils/QueryRunner.java Adding src/java/org/apache/commons/dbutils/handlers/AbstractListHandler.java Sending src/java/org/apache/commons/dbutils/handlers/ArrayListHandler.java Sending src/java/org/apache/commons/dbutils/handlers/BeanListHandler.java Sending src/java/org/apache/commons/dbutils/handlers/ColumnListHandler.java Deleting src/java/org/apache/commons/dbutils/handlers/GenericListHandler.java Sending src/java/org/apache/commons/dbutils/handlers/MapListHandler.java Sending src/test/org/apache/commons/dbutils/BaseTestCase.java Adding src/test/org/apache/commons/dbutils/QueryRunnerTest.java Transmitting file data ......... Committed revision 747724.
          Henri Yandell made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Dan Fabulich made changes -
          Assignee Dan Fabulich [ dfabulich ]

          Error rendering 'com.atlassian.jirafisheyeplugin:fisheye-issuepanel'. Please contact your JIRA administrators.

            People

            • Assignee:
              Dan Fabulich
              Reporter:
              David Graham
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development