Commons Dbcp
  1. Commons Dbcp
  2. DBCP-187

[dbcp] Make exceptions about closed connections and statements more easily debuggable

    Details

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

      Operating System: other
      Platform: Other

      Description

      When I prepare the connections, statements, and resultsets, I can print their
      address pointers.
      When there is a problem, it would be great to also see what pointer in the pool
      caused the problem!

        Activity

        Hide
        Ralf Hauser added a comment -

        Created an attachment (id=9781)
        DelegatingConnection.java.patch

        Show
        Ralf Hauser added a comment - Created an attachment (id=9781) DelegatingConnection.java.patch
        Hide
        Ralf Hauser added a comment -

        Created an attachment (id=9782)
        DelegatingStatement.java.patch

        Show
        Ralf Hauser added a comment - Created an attachment (id=9782) DelegatingStatement.java.patch
        Hide
        Phil Steitz added a comment -

        Patches applied. Thanks.

        Show
        Phil Steitz added a comment - Patches applied. Thanks.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ralf Hauser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development