db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4830) ResultSet.getCharacterStream returns closed stream for clob
Date Mon, 04 Oct 2010 12:13:32 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917570#action_12917570
] 

Benson Margulies commented on DERBY-4830:
-----------------------------------------

I've attached code. I did not perform a complete minimization, but I don't think you'll have
you much trouble using this to debug.

The test that failes is JDDDaoTest.testReadDocument.

In JDDDao.java, at line 114, the working code is commented out, and the failing code is commented
in.



> ResultSet.getCharacterStream returns closed stream for clob
> -----------------------------------------------------------
>
>                 Key: DERBY-4830
>                 URL: https://issues.apache.org/jira/browse/DERBY-4830
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.6.1.0
>            Reporter: Benson Margulies
>            Priority: Minor
>         Attachments: derby-4830.tar.gz
>
>
> After selecting a clob, the following works:
> {code}
>  rs.getClob(1).getCharacterStream()
> {code}
> However, simply calling
> {code}
> rs.getCharacterStream(1)
> {code}
> returns a closed StringReader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message