tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hyun...@apache.org
Subject tajo git commit: TAJO-1626: JdbcConnection::setAutoCommit() should not throw an exception.
Date Thu, 28 May 2015 12:14:46 GMT
Repository: tajo
Updated Branches:
  refs/heads/branch-0.10.2 90e74e99e -> 3f3f3b7e6


TAJO-1626: JdbcConnection::setAutoCommit() should not throw an exception.


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/3f3f3b7e
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/3f3f3b7e
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/3f3f3b7e

Branch: refs/heads/branch-0.10.2
Commit: 3f3f3b7e60b0c2f6a30e7ddb297d5b092c4dc218
Parents: 90e74e9
Author: Hyunsik Choi <hyunsik@apache.org>
Authored: Thu May 28 05:06:32 2015 -0700
Committer: Hyunsik Choi <hyunsik@apache.org>
Committed: Thu May 28 05:14:27 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/3f3f3b7e/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 2d0cfee..dc9e32e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,9 @@ Release 0.10.1 - Released
 
   IMPROVEMENT
 
+    TAJO-1626: JdbcConnection::setAutoCommit() should not throw an exception.
+    (hyunsik)
+
     TAJO-1452: Improve function listing order (Contributed Dongjoon Hyun, 
     Committed by hyunsik)
 

http://git-wip-us.apache.org/repos/asf/tajo/blob/3f3f3b7e/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 2879540..85b6af3 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
@@ -358,7 +358,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


Mime
View raw message