We have implemented some code to describe binary data for BYTE and VARCHAR. This is useful for siutations in which you want to store non readable characters in fields with these types.
One example would be binary coded decimal (BCD) fields in CHAR FOR BITDATA columns which is e.g. supported by DB2.
Currently it only supports values up to 64 Bits and uses a hardcoded prefix to distinguish a normal String from a String with a binary sequence.
A patch with the change and corresponding tests is appendet.
Cheers,
Chris Stahlhut for the BLUECARAT developement team.
Patch for the described implementation
Update: Unfortunately there where some errors in the file headers and unnecessary todos. This is now fixed. :)
Cheers,
Chris Stahlhut