Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5874

Remove JDBC 3 constants from client.am.Statement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.10.1.1
    • 10.10.1.1
    • JDBC
    • None

    Description

      org.apache.derby.client.am.Statement defines three constants, CLOSE_CURRENT_RESULT, KEEP_CURRENT_RESULT and CLOSE_ALL_RESULTS, that are also defined in java.sql.Statement. Since client.am.Statement implements java.sql.Statement, we could remove those constants and let it inherit them instead. The only reason why these constants are defined in client.am.Statement, is to make the client compile on JDKs predating JDBC 3 (that is, Java 1.3 and earlier). Since we don't support those JDKs anymore, the constants can be removed now.

      Attachments

        1. d5874.diff
          2 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: