Description
Effectively autoCommit is always true for HiveConnection, however setAutoCommit(true) throws exception, causing problems in existing JDBC code.
Should be
@Override public void setAutoCommit(boolean autoCommit) throws SQLException { if (!autoCommit) { throw new SQLException("disabling autocommit is not supported"); } }
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-6712 HS2 JDBC driver is inconsistent w.r.t. auto commit
- Resolved