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

V.Narayanan updated DERBY-1421:
-------------------------------

    Attachment: TestUpdateBinaryStream.java

The above program fails with the following message

Exception in thread "main" org.apache.derby.shared.common.sanity.AssertFailure: 
ASSERT FAILED statementContext is not expected to equal statementContexts[0]
        at 
org.apache.derby.shared.common.sanity.SanityManager.ASSERT(SanityManager.java:119)
        at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.popStatementContext(GenericLanguageConnectionContext.java:2027)
        at 
org.apache.derby.impl.jdbc.EmbedResultSet.updateRow(EmbedResultSet.java:3577)
        at TestUpdateBinaryStream.main(TestUpdateBinaryStream.java:43)
Java Result: 1

> ResultSet.updateBinaryStream fails when the result type is 
> TYPE_SCROLL_INSENSITIVE
> ----------------------------------------------------------------------------------
>
>          Key: DERBY-1421
>          URL: http://issues.apache.org/jira/browse/DERBY-1421
>      Project: Derby
>         Type: Bug

>   Components: JDBC
>     Reporter: V.Narayanan
>  Attachments: TestUpdateBinaryStream.java
>
> Attaching test program for the above bug. The program however works fine when 
> the ResultSetType is TYPE_FORWARD_ONLY.

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