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

Remove JDBC 3 constants from client.am.Statement

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.10.1.1
    • Component/s: JDBC
    • Labels:
      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

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: