Varadharajan created HIVE-12185: ----------------------------------- Summary: setAutoCommit should only fail if auto commit is being disabled Key: HIVE-12185 URL: https://issues.apache.org/jira/browse/HIVE-12185 Project: Hive Issue Type: Bug Components: JDBC Affects Versions: 1.2.1, 1.1.0, 1.2.0 Reporter: Varadharajan Assignee: Varadharajan Priority: Minor
Auto Commit is enabled by default in hive as documented at https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-Limitations. In accordance with this, HiveConnection.java:getAutoCommit method returns true. Similarly, setAutoCommit(true) should pass silently since it is already enabled and a SQL exception should be thrown if its called with false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)