Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2565

Add AlreadyClosedSqlException, some key checks, and test for future DRILL-2489 fix.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Client - JDBC
    • Labels:
      None

      Description

      • Created AlreadyClosedSqlException.
      • (Moved JdbcApiSqlException to subclass of SQLNonTransientException.)
      • Created test Drill2489CallsAfterCloseThrowExceptionsTest (partial --covers Connection, Statement, and ResultSet methods).
      • Added already-closed checking in a handful of places ( for now, just to confirm added exception and pattern in test).

        Attachments

        1. DRILL-2565.4.patch.txt
          87 kB
          Daniel Barclay
        2. DRILL-2565.3.patch.txt
          87 kB
          Daniel Barclay
        3. DRILL-2565.2.patch.txt
          81 kB
          Daniel Barclay
        4. DRILL-2565.1.patch.txt
          81 kB
          Daniel Barclay

          Issue Links

            Activity

              People

              • Assignee:
                dsbos Daniel Barclay
                Reporter:
                dsbos Daniel Barclay
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: