You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/11/15 09:50:00 UTC
[jira] [Resolved] (PHOENIX-7088) PhoenixStatement leaks ResultSets
[ https://issues.apache.org/jira/browse/PHOENIX-7088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Istvan Toth resolved PHOENIX-7088.
----------------------------------
Fix Version/s: 5.2.0
Resolution: Fixed
> 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.2.0, 5.1.3
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Fix For: 5.2.0
>
>
> 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)