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

Kristian Waagan updated DERBY-1147:
-----------------------------------

    Attachment: derby-1147-1a-missing-methods.diff
                derby-1147-1a-missing-methods.stat

'derby-1147-1a-missing-methods.diff' adds the missing methods for 
CallableStatement, on both embedded and client side. All new methods throw 
SQLFeatureNotSupported exceptions (via Util.notImplemented or 
SQLExceptionFactory.notImplemented), except for those in 
BrokeredCallableStatement40.

The old jdbc4 test has been rewritten to a JUnit test, and some new tests have 
been added. The test is run as part of the jdbc40 suite. I am a bit unsure 
about the JavaDoc. Should I add some, or is it the doc for the interface used? 
The patch is ready for review and commit.

Another patch will be submitted to implement the methods getCharacterStream, 
setBlob and setClob.

> Implement miscellaneous CallableStatement methods added by JDBC4
> ----------------------------------------------------------------
>
>          Key: DERBY-1147
>          URL: http://issues.apache.org/jira/browse/DERBY-1147
>      Project: Derby
>         Type: Improvement
>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Kristian Waagan
>  Attachments: derby-1147-1a-missing-methods.diff, 
> derby-1147-1a-missing-methods.stat
>
> These are described in the overview section 3.1 of the JDBC4 spec:
> "Added the methods getRowId, setRowId, getNClob, getNString,
> getCharacterStream, getNCharacterStream, setNString,
> setNCharacterStream, setNClob, getSQLXML, setSQLXML.
> Overloaded the setClob and setBlob methods."
> Most of these methods will throw SQLFeatureNotSupporteException because our 
> client drivers do not support the ROWID, National String, and XML datatypes. 
> However, we should implement the getCharacterStream() method and the 
> setClob() and setBlob() overloads.

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