db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen (JIRA) <j...@apache.org>
Subject [jira] Updated: (DERBY-2102) JDBC.assertFullResultSet should handle byte arrays
Date Mon, 20 Nov 2006 15:02:04 GMT
     [ http://issues.apache.org/jira/browse/DERBY-2102?page=all ]

Øystein Grøvlen updated DERBY-2102:

    Attachment: derby2102.diff

derby2102.diff adds handling of byte arrays to the general object-based comparison in assertRowInResultSet().
 I also added a method bytesToString() which converts the byte array to String for diagnostic
output. (Since Arrays.toString is only available from Java SE 5.) 

The patch changes a single file:

M java/testing/org/apache/derbyTesting/junit/JDBC.java

I have run the Junit All suite with no errors.

> JDBC.assertFullResultSet should handle byte arrays
> --------------------------------------------------
>                 Key: DERBY-2102
>                 URL: http://issues.apache.org/jira/browse/DERBY-2102
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Øystein Grøvlen
>         Assigned To: Øystein Grøvlen
>            Priority: Trivial
>             Fix For:
>         Attachments: derby2102.diff
> Currently, JDBC.assertFullResultset() cannot be used for columns that maps to byte[]
> To support this, assertRowInResultSet need to be extended the case where the column object
is a byte[].

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


View raw message