hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6712) HS2 JDBC driver is inconsistent w.r.t. auto commit
Date Thu, 19 Nov 2015 22:40:11 GMT

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

Sergey Shelukhin updated HIVE-6712:
-----------------------------------
    Fix Version/s:     (was: 2.0.0)

Removing fixed version (2.0) from Unresolved JIRA in preparation for the release. Please use
target version field instead (if not already set) if you think this should be shipped as part
of 2.0

> HS2 JDBC driver is inconsistent w.r.t. auto commit
> --------------------------------------------------
>
>                 Key: HIVE-6712
>                 URL: https://issues.apache.org/jira/browse/HIVE-6712
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Xuefu Zhang
>            Assignee: David McWhorter
>              Labels: jdbc
>         Attachments: HIVE-6712.patch
>
>
> I see an inconsistency in HS2 JDBC driver code:
> {code}
>   @Override
>   public void setAutoCommit(boolean autoCommit) throws SQLException {
>     if (autoCommit) {
>       throw new SQLException("enabling autocommit is not supported");
>     }
>   }
> {code}
> From above, it seems that auto commit is not supported. However, 
> {code}
>   @Override
>   public boolean getAutoCommit() throws SQLException {
>     return true;
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message