Hi All ,       
    I modified  the ByteArry and BLOB  to Bytes in  the
ResultSetTypeMap.java   , and then I could run a sample of reading the BLOB
field , 
I test the sample on Mysql 5.0  , It could  run  correctly .   

Maybe this is a bug . 

ResultSetTypeMap.java

        case Types.BINARY:
        case Types.VARBINARY:
        case Types.LONGVARBINARY:
                 return helper.getType("commonj.sdo", "Bytes");  // before
is return helper.getType("commonj.sdo", "ByteArray");

        case Types.BLOB:
                return helper.getType("commonj.sdo", "Bytes"); // before is
return helper.getType("commonj.sdo", "Blob");

 

-----邮件原件-----
发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
发送时间: 2007年7月18日 16:54
收件人: [email protected]
主题: How to do if I need the DAS and SDO to support reading and writing the
BLOB or CLOB field 


Hi  All , 
     
     I  need the DAS to support  reading and write the BLOB field , but
TypeHelper.getType("commonj.sdo", "Blob") is return null  , Could you give
me some tips to implement the function or fix out the bugs ?
Or How could I implement the function immediately ?


Li Taojian . 






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to