You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2017/09/06 12:13:02 UTC

[jira] [Comment Edited] (IGNITE-6130) JDBC Thin: JdbcThinResultSet must support types conversions

    [ https://issues.apache.org/jira/browse/IGNITE-6130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155265#comment-16155265 ] 

Taras Ledkov edited comment on IGNITE-6130 at 9/6/17 12:12 PM:
---------------------------------------------------------------

All comments are fixed.
*6* and *7* not fully agreed because specification says that obly {{BINARY}}, {{VARBINARY}} and {{LONGVARBINARY}} are able to convert to  {{byte[]}} and only {{DATALINK}} is converted to {{URL}} (see table B-6).
But H2 supports conversions from numbers to byte[]. I've implemented ones too.


was (Author: tledkov-gridgain):
All comments are fixed.
*6* and *7* not fully agreed because specification says that obly {{BINARY}}, {{VARBINARY}} and {{LONGVARBINARY}} are able to convert to  {{byte[]}} and only {{DATALINK}} is converted to {{URL}} (see table B-6).
But H2 supports conversions from numbers to byte[]. I've implemented ones too.

> JDBC Thin: JdbcThinResultSet must support types conversions 
> ------------------------------------------------------------
>
>                 Key: IGNITE-6130
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6130
>             Project: Ignite
>          Issue Type: Task
>          Components: jdbc
>    Affects Versions: 2.1
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>             Fix For: 2.3
>
>
> Now JdbcThinResultSet  doesn't support data types transformation.
> e.g.: if the attribute type is SHORT
> all the methods below must return valid value:
> {{getByte, getShort, getInt, getLong, getFloat, getDouble, getBigDecimal, getBoolean, getString, getNString}}
> See the table *B-6* at the JDBC spec (see also [8.9.5 and 8.9.6|http://docs.oracle.com/javase/6/docs/technotes/guides/jdbc/getstart/mapping.html#996857]).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)