You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <de...@db.apache.org> on 2006/04/08 02:44:25 UTC

[jira] Commented: (DERBY-1147) Implement miscellaneous CallableStatement methods added by JDBC4

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

Rick Hillegas commented on DERBY-1147:
--------------------------------------

Hi Kristian,

Here are some responses to some of your questions:

(2) Your approach sounds reasonable to me.

(4) The general pattern seems to be to push useful methods as far up the inheritance graph as possible. We can't do this for methods whose signatures contain classes that don't appear in JDBC2 and JDBC3. But your method doesn't suffer from this problem.

(7) Calling the OUT/INOUT check before the datatype check seems sensible to me. I would expect the former check to trump the latter.

> 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, derby-1147-2a-getcharacterstream.diff, derby-1147-2a-getcharacterstream.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