Hello,

Perhaps, I'm missing something but it seems that LONGVARBINARY is not
supported by Apache Ignite.
The full list of available types can be found here:
https://apacheignite-sql.readme.io/docs/data-types

Thanks,
S.

ср, 8 авг. 2018 г. в 18:52, michal23849 <michal23...@gmail.com>:

> Hi All,
>
> I tried mapping the fields in number of different combinations based on the
> above, but all the time I am failing with the SQLServerException:  The
> conversion from UNKNOWN to UNKNOWN is unsupported.
>
> The mappings I used in the following structure included:
>
> <bean class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
>                                                       <property
> name="databaseFieldType" >
>                                                           <util:constant
> static-field="java.sql.Types.LONGVARBINARY"/>
>                                                       </property>
>                                                       <property
> name="databaseFieldName" value="firstCode" />
>                                                       <property
> name="javaFieldType" value="java.lang.Byte[]" />
>                                                       <property
> name="javaFieldName" value="firstCode" />
>  </bean>
>
> I also checked other combinations of:
> javaFieldTypes:
> my.package.ListingCode
> byte[]
> java.lang.Byte[]
> java.sql.Blob
> Object
>
> to JdbcTypes (java.sql.Types.):
> LONGVARBINARY
> VARBINARY
>
> Based on the SQLServer JDBC driver documentation and Ignite's all this
> should be supported. Could you please shed some more live how the object is
> passed to the driver and how best it should be mapped in XML?
>
> Thank you
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to