[
https://issues.apache.org/jira/browse/HIVE-11338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
cristian cadar updated HIVE-11338:
----------------------------------
Description:
Method {{getAutocommit()}} always returns {{true}}.
This means your connection is transacted. Please change it to {{false}}, since
HiveConnection does not support transactions.
{{org.apache.hive.jdbc.HiveConnection}}
class {{HiveConnection}}
{code}
@Override
public boolean getAutoCommit() throws SQLException {
return true;
}
{code}
was:
Method {{getAutocommit()}} always returns {{true}}.
This means your connection is transacted. Please change it to {{false}}, since
HiveConnection does not support transactions.
class {{HiveConnection}}
{code}
@Override
public boolean getAutoCommit() throws SQLException {
return true;
}
{code}
> Method getAutocommit() allways returns true
> -------------------------------------------
>
> Key: HIVE-11338
> URL: https://issues.apache.org/jira/browse/HIVE-11338
> Project: Hive
> Issue Type: Bug
> Components: API
> Reporter: cristian cadar
> Priority: Blocker
>
> Method {{getAutocommit()}} always returns {{true}}.
> This means your connection is transacted. Please change it to {{false}},
> since HiveConnection does not support transactions.
> {{org.apache.hive.jdbc.HiveConnection}}
> class {{HiveConnection}}
> {code}
> @Override
> public boolean getAutoCommit() throws SQLException {
> return true;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)