You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/02/10 19:51:12 UTC

[jira] [Resolved] (PHOENIX-1540) org.apache.phoenix.jdbc.PhoenixConnection should implement Closeable

     [ https://issues.apache.org/jira/browse/PHOENIX-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-1540.
-----------------------------------
    Resolution: Invalid

PhoenixConnection implements java.sql.Connection which implements AutoCloseable, so I think we're good here.

> org.apache.phoenix.jdbc.PhoenixConnection should implement Closeable
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-1540
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1540
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Anil Saldhana
>
> The JDBC Connection interface 
> http://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html
> implements Closeable interface.
> If PhoenixConnection implements the Closeable interface, then we can use the IOUtils.closeQuietly method.
> http://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/IOUtils.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)