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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Client - JDBC
    • 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.1.patch.txt
          81 kB
          Daniel Barclay
        2. DRILL-2565.2.patch.txt
          81 kB
          Daniel Barclay
        3. DRILL-2565.3.patch.txt
          87 kB
          Daniel Barclay
        4. DRILL-2565.4.patch.txt
          87 kB
          Daniel Barclay

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: