Dear Karl

Thanks for fixing this so fast!


Minhui Li

2014-02-27 18:26 GMT+09:00 Karl Wright <[email protected]>:

>
>
> Hi,
>
> The reason you get the metadata error is because of this code:
>
> >>>>>>
>         Object metadata = row.getValue(columnName);
>         if (metadata instanceof BinaryInput)
>           throw new ManifoldCFException("Metadata column '"+columnName+"'
> must be convertible to a string, and cannot be binary");
> <<<<<<
>
> That is getting set because:
>
> >>>>>>
>           if (isBinaryData(rsmd,colnum))
>           {
>             InputStream bis = rs.getBinaryStream(colnum);
>             if (bis != null)
>               value = new TempFileInput(bis);
>           }
> <<<<<<
>
> So, the MySQL JDBC driver is incorrectly telling the JDBC Connector that
> the column is binary, no matter how you cast it.
>
> To work around this, I can forcibly convert the column value to a string.
> I've created CONNECTORS-904 to track this problem.  I will have a fix
> committed shortly, and attach a patch.
>
> Karl
>



-- 
****************************************************************
ソフトバンクモバイル株式会社
情報システム本部 システムサービス事業統括部
サービス企画部

李 敏慧
Email  [email protected] <[email protected]>
TEL    080-3914-6311
****************************************************************

Reply via email to