You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2015/05/28 14:08:18 UTC
tajo git commit: TAJO-1626: JdbcConnection::setAutoCommit() should
not throw an exception.
Repository: tajo
Updated Branches:
refs/heads/master f4680a933 -> 39fdadcf7
TAJO-1626: JdbcConnection::setAutoCommit() should not throw an exception.
Closes #589
Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/39fdadcf
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/39fdadcf
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/39fdadcf
Branch: refs/heads/master
Commit: 39fdadcf760729e3b933a033aec52aaeadd7ec03
Parents: f4680a9
Author: Hyunsik Choi <hy...@apache.org>
Authored: Thu May 28 05:06:32 2015 -0700
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Thu May 28 05:06:32 2015 -0700
----------------------------------------------------------------------
CHANGES | 3 +++
tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tajo/blob/39fdadcf/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 7c79805..7023419 100644
--- a/CHANGES
+++ b/CHANGES
@@ -27,6 +27,9 @@ Release 0.11.0 - unreleased
IMPROVEMENT
+ TAJO-1626: JdbcConnection::setAutoCommit() should not throw an exception.
+ (hyunsik)
+
TAJO-1130: Concurrent execution of independent execution blocks.
(Contributed by navis, Committed by jihoon)
http://git-wip-us.apache.org/repos/asf/tajo/blob/39fdadcf/tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java
----------------------------------------------------------------------
diff --git a/tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java b/tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java
index 959860d..c5d4868 100644
--- a/tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java
+++ b/tajo-jdbc/src/main/java/org/apache/tajo/jdbc/JdbcConnection.java
@@ -360,7 +360,7 @@ public class JdbcConnection implements Connection {
@Override
public void setAutoCommit(boolean autoCommit) throws SQLException {
- throw new SQLFeatureNotSupportedException("setAutoCommit");
+ LOG.warn("Tajo does not support setAutoCommit, so this invocation is ignored.");
}
@Override