You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2014/06/24 16:44:24 UTC
[jira] [Resolved] (JENA-727) Check ResultSets are still valid ;
add QueryExecution.isClosed
[ https://issues.apache.org/jira/browse/JENA-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-727.
--------------------------------
Resolution: Fixed
Fix Version/s: Jena 2.12.0
ResultSetsCheckCondition now wraps the result of calling QueryExecution.execSelect (two case - local and HTTP).
> Check ResultSets are still valid ; add QueryExecution.isClosed
> ---------------------------------------------------------------
>
> Key: JENA-727
> URL: https://issues.apache.org/jira/browse/JENA-727
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Fix For: Jena 2.12.0
>
>
> One issue that we get in the users list is result set being used after the associated query execution has been closed. This may become more significant when/if {{QueryExecution}} becomes {{AutoCloseable}}.
> To support a ResultSet implementation that checks whether the {{QueryExecution}} is still current, add e.g. {{QueryExecution.isClosed}} to test for the state of the {{QueryExecution}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)