Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-4

[dbutils] ResultSetIterator should rethrow SQLExceptions as RuntimException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.1
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      SQLExceptions are not handled.
      See TODOs in org.apache.commons.dbutils.ResultSetIterator.java

      From discussion in COM-1333
      I do not think that swallowing the exception would be a good decission, the user
      (of DbUtils) should know something went wrong and we should not hide application
      bugs and make debugging more difficult.

      I would implement this myself if nobody objects.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefan Fleiter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development