db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1147) Implement miscellaneous CallableStatement methods added by JDBC4
Date Tue, 18 Apr 2006 16:03:18 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1147?page=all ]

Kristian Waagan updated DERBY-1147:

    Attachment: derby-1147-2b-getcharacterstream.stat

'derby-1147-2b-getcharacterstream.diff' implements getCharacterStream(int) for embeddded and
client. I have adressed a few things:
* moved embedded implementation from EmbedCallableStatement40.java to EmbedCallableStatement20.java.
* duplicated check for OUT and  IN/OUT in embedded implementation to make client and embedded
behave the same.
* removed blank lines from end of EmbedCallableStatement20.java

I have added 8 test cases, but if someone has more/other scenarios for the use of getCharacterStream,
it would be great. I have not done anything special for handling big data volumes, and size
is currently capped at ~32KB (?) due to the lack of support for CLOB/BLOB for CallableStatement/stored

I have run the jdbc40 suite, and it passed without failures (Solaris 10). I have also started
a derbyall run, and will report if I find errors related to the patch.

The patch is ready for review/commit.

> 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:
>     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, derby-1147-2b-getcharacterstream.diff,
> 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:
For more information on JIRA, see:

View raw message