Istvan Toth created PHOENIX-7088: ------------------------------------ Summary: PhoenixStatement leaks ResultSets Key: PHOENIX-7088 URL: https://issues.apache.org/jira/browse/PHOENIX-7088 Project: Phoenix Issue Type: New Feature Components: core Affects Versions: 5.1.3, 5.2.0 Reporter: Istvan Toth Assignee: Istvan Toth
When a Statement is re-used for multiple queries, the ResultSets never get closed. As per [https://docs.oracle.com/javase/8/docs/api/java/sql/ResultSet.html] {quote}A {{ResultSet}} object is automatically closed when the {{Statement}} object that generated it is closed, re-executed, or used to retrieve the next result from a sequence of multiple results. {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)