[ 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: 10.3.0.0
> Reporter: Øystein Grøvlen
> Assigned To: Øystein Grøvlen
> Priority: Trivial
> Fix For: 10.3.0.0
>
> Attachments: derby2102.diff
>
>
> Currently, JDBC.assertFullResultset() cannot be used for columns that maps to
> byte[] (e.g., CHAR FOR BIT DATA).
> 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