Derby
  1. Derby
  2. DERBY-1238

Add vacuous implementations for Connection.createStruct() and Connection.createArray()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Component/s: JDBC
    • Labels:
      None
    • Issue & fix info:
      Patch Available

      Description

      An upcoming rev of jdk16 will require that we add vacuous implementations of the following new methods in Connection. We can just raise SQLFeatureNotSupported because Derby does not support Array or Struct types:

      Array createArray() throws SQLException;
      Struct createStruct() throws SQLException;

      1. derby-1238-1a.diff
        8 kB
        Kristian Waagan
      2. derby-1238-1a.stat
        0.4 kB
        Kristian Waagan

        Issue Links

          Activity

          Hide
          Rick Hillegas added a comment -

          Committed at subversion revision 399063. I also wired VerifySignatures into the jdbc40 suite because that test now passes cleanly.

          Show
          Rick Hillegas added a comment - Committed at subversion revision 399063. I also wired VerifySignatures into the jdbc40 suite because that test now passes cleanly.
          Hide
          Kristian Waagan added a comment -

          'derby-1238-1a.diff' add methods createArray and createStruct. They all throw SQLFeatureNotImplemented.
          Updated jdbc4/ConnectionTest with testes for the two methods. The test ensures the methods are tested in all connection implementations ("normal", Brokered, Logical).

          ConnectionTest still not enabled, because it as 2 failures: createQueryObject is not implemented in BrokeredConnection. jdbc40 suite passes, as does the VerifySignatures test (patch for enabling it is submitted in DERBY-1146).

          Please review/commit.

          Show
          Kristian Waagan added a comment - 'derby-1238-1a.diff' add methods createArray and createStruct. They all throw SQLFeatureNotImplemented. Updated jdbc4/ConnectionTest with testes for the two methods. The test ensures the methods are tested in all connection implementations ("normal", Brokered, Logical). ConnectionTest still not enabled, because it as 2 failures: createQueryObject is not implemented in BrokeredConnection. jdbc40 suite passes, as does the VerifySignatures test (patch for enabling it is submitted in DERBY-1146 ). Please review/commit.

            People

            • Assignee:
              Kristian Waagan
              Reporter:
              Rick Hillegas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development