[ http://issues.apache.org/jira/browse/DERBY-2102?page=all ]
Øystein Grøvlen updated DERBY-2102:
-----------------------------------
Attachment: derby2102v2.diff
Thanks for the review, Knut Anders. I have attached a new patch,
derby2102v2.diff, which fixes the null pointer issue. I have also replaced
String with StringBuffer in bytesToString() since you insist :-) I also
changed the method to return null on null input, instead of emptry string.
That seems to be more accurate.
I have rerun 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, derby2102v2.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