Re: How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-19 Thread Amita Vadhavkar
Hi Folks, JIRA-1453 opened for this issue is perfectly fixing Blob and ByteArray. Clob and Array, seem to be the only remaining types where TypeHelper.getType(commonj.sdo,...) returns null. Same approach as JIRA-1453 can work the Clob , but for Array? Any hints? Can the same JIRA be used or new

Re: How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-19 Thread Luciano Resende
Let's just create a new one. It would be great to have some test cases provided as well, as suggested by Kevin. On 7/19/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Hi Folks, JIRA-1453 opened for this issue is perfectly fixing Blob and ByteArray. Clob and Array, seem to be the only remaining

How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-18 Thread LiTaojian
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 .

RE: How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-18 Thread LiTaojian
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:

Re: How to do if I need the DAS and SDO to support reading and writing the BLOB or CLOB field

2007-07-18 Thread Kevin Williams
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