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

          Rick Hillegas created issue -
          Olav Sandstaa made changes -
          Field Original Value New Value
          Assignee Olav Sandstaa [ olav ]
          Kristian Waagan made changes -
          Assignee Olav Sandstaa [ olav ] Kristian Waagan [ kristwaa ]
          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.
          Kristian Waagan made changes -
          Attachment derby-1238-1a.stat [ 12326156 ]
          Attachment derby-1238-1a.diff [ 12326155 ]
          Kristian Waagan made changes -
          Derby Info [Patch Available]
          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.
          Dyre Tjeldvoll made changes -
          Link This issue is related to DERBY-1380 [ DERBY-1380 ]
          Rick Hillegas made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Rick Hillegas made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Dag H. Wanvik made changes -
          Issue Type New Feature [ 2 ] Improvement [ 4 ]
          Gavin made changes -
          Workflow jira [ 12361359 ] Default workflow, editable Closed status [ 12799459 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          52d 22h 40m 1 Rick Hillegas 13/Jun/06 05:14
          Resolved Resolved Closed Closed
          12s 1 Rick Hillegas 13/Jun/06 05:15

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development