Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-4

[dbutils] ResultSetIterator should rethrow SQLExceptions as RuntimException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.1
    • None
    • Operating System: other
      Platform: Other

    • 32120

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stefan.fleiter@web.de Stefan Fleiter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: