db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-856) modify setCharacterStreamInternal to take a long for the length, and perform the > max int check in the method
Date Fri, 03 Feb 2006 04:53:03 GMT
    [ http://issues.apache.org/jira/browse/DERBY-856?page=comments#action_12365041 ] 

Daniel John Debrunner commented on DERBY-856:
---------------------------------------------

It would be possible to replace the CLOB in the current error message with CLOB(x) where x
is the correct size. In this case it would be:

CLOB(2147483647)

This would be by using 

preparedStatement.getParameterTypes()[parameterIndex-1].getSQLstring()

instead of

getEmbedParameterSetMetaData().getParameterTypeName(
                  parameterIndex)


> modify setCharacterStreamInternal to take a long for the length, and perform the >
max int check in the method
> --------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-856
>          URL: http://issues.apache.org/jira/browse/DERBY-856
>      Project: Derby
>         Type: Improvement
>   Components: JDBC
>     Versions: 10.2.0.0
>  Environment: All Environments
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>     Priority: Minor
>  Attachments: setCharacterStreamInternal.diff, setCharacterStreamInternal.stat, setCharacterStreamInternal_1.diff,
setCharacterStreamInternal_2.diff, setCharacterStreamInternal_2.stat
>
> A similar change to setBinaryStreamInternal is being handled as part of DERBY-599. 

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


Mime
View raw message