You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2014/02/28 21:00:20 UTC
[jira] [Created] (PHOENIX-89) Statements are not closed using
PhoenixConnection.executeStatements()
Maryann Xue created PHOENIX-89:
----------------------------------
Summary: Statements are not closed using PhoenixConnection.executeStatements()
Key: PHOENIX-89
URL: https://issues.apache.org/jira/browse/PHOENIX-89
Project: Phoenix
Issue Type: Bug
Affects Versions: 2.2.3, 3.0.0
Reporter: Maryann Xue
Assignee: Maryann Xue
Priority: Minor
Fix For: 3.0.0
This method is mainly used by "PhoenixRuntime#main()", which is a Phoenix java utility class for executing SQL scripts.
We can either close the statements locally inside the method, or add the statements into the statement list of the enclosing PhoenixConnection. I prefer the latter.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)