You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksey Plekhanov (Jira)" <ji...@apache.org> on 2020/09/08 10:56:00 UTC

[jira] [Updated] (IGNITE-13414) JDBC thin: compatibility is broken for versions 2.8-2.9

     [ https://issues.apache.org/jira/browse/IGNITE-13414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Plekhanov updated IGNITE-13414:
---------------------------------------
    Description: 
"User attributes" feature was added by IGNITE-12049, it was added in 2.9 version, but for VER_2_8_0 condition:

{code:java}
         if (ver.compareTo(VER_2_8_0) >= 0) {
            dataPageScanEnabled = nullableBooleanFromByte(reader.readByte());

            updateBatchSize = JdbcUtils.readNullableInteger(reader);

            userAttrs = reader.readMap();
        }
{code}

{{JdbcThinFeature}} should be used to check if protocol support user attributes. 

  was:
"User attributes" feature was added by IGNITE-12049, it was added in 2.9 version, but for VER_2_8_0 condition:

{code:java}
         if (ver.compareTo(VER_2_8_0) >= 0) {
            dataPageScanEnabled = nullableBooleanFromByte(reader.readByte());

            updateBatchSize = JdbcUtils.readNullableInteger(reader);

            userAttrs = reader.readMap();
        }
{code}



> JDBC thin: compatibility is broken for versions 2.8-2.9
> -------------------------------------------------------
>
>                 Key: IGNITE-13414
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13414
>             Project: Ignite
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.9
>            Reporter: Aleksey Plekhanov
>            Priority: Critical
>             Fix For: 2.9
>
>
> "User attributes" feature was added by IGNITE-12049, it was added in 2.9 version, but for VER_2_8_0 condition:
> {code:java}
>          if (ver.compareTo(VER_2_8_0) >= 0) {
>             dataPageScanEnabled = nullableBooleanFromByte(reader.readByte());
>             updateBatchSize = JdbcUtils.readNullableInteger(reader);
>             userAttrs = reader.readMap();
>         }
> {code}
> {{JdbcThinFeature}} should be used to check if protocol support user attributes. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)