Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABEC0189BD for ; Fri, 5 Jun 2015 17:23:01 +0000 (UTC) Received: (qmail 9465 invoked by uid 500); 5 Jun 2015 17:23:01 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 9276 invoked by uid 500); 5 Jun 2015 17:23:01 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 9025 invoked by uid 99); 5 Jun 2015 17:23:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2015 17:23:01 +0000 Date: Fri, 5 Jun 2015 17:23:01 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-2451) JDBC : Connection.commit throws an UnsupportedOperationException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Barclay (Drill) resolved DRILL-2451. ------------------------------------------- Resolution: Fixed Resolving as superseded by DRILL_2782. > JDBC : Connection.commit throws an UnsupportedOperationException > ---------------------------------------------------------------- > > Key: DRILL-2451 > URL: https://issues.apache.org/jira/browse/DRILL-2451 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Reporter: Rahul Challapalli > Assignee: Rahul Challapalli > Fix For: 1.2.0 > > > git.commit.id.abbrev=e92db23 > Currently drill throws an UnsupportedOperationException when we call "commit" on the Connection object. > I am not exactly sure what "commit" should do in the context of drill. But at the very least doing nothing is better than throwing the above exception since a few analytic tools might be using this method. > Below is the documentation from the JDBC spec : > {code} > void commit() throws SQLException - Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object. This method should be used only when auto-commit mode has been disabled. > Throws: > SQLException - if a database access error occurs, this method is called while participating in a distributed transaction, if this method is called on a closed connection or this Connection object is in auto-commit mode > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)