Hello Li Taojian,

You have uncovered a bug and also found a good fix.  It would be very
helpful if you could open a JIRA for this bug and also submit your fix
as a patch.  You can find instruction for doing this here:
http://incubator.apache.org/tuscany/issue-tracking.html

It would be even better if you could submit an addition to the DAS
testuite to verify your fix.

Thanks for your interest in the DAS.

--Kevin

On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

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