[ http://issues.apache.org/jira/browse/DERBY-1238?page=all ]

Kristian Waagan updated DERBY-1238:
-----------------------------------

    Attachment: derby-1238-1a.diff
                derby-1238-1a.stat

'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.

> Add vacuous implementations for Connection.createStruct() and 
> Connection.createArray()
> --------------------------------------------------------------------------------------
>
>          Key: DERBY-1238
>          URL: http://issues.apache.org/jira/browse/DERBY-1238
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Kristian Waagan
>      Fix For: 10.2.0.0
>  Attachments: derby-1238-1a.diff, derby-1238-1a.stat
>
> 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;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to