You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/24 16:40:25 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14042184#comment-14042184 ]
ASF subversion and git services commented on JENA-727:
------------------------------------------------------
Commit 1605097 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1605097 ]
JENA-725 : QueryExecution extends AutoCloseable
JENA-727 : Add QueryExecution.isClosed
> 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
>
> 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)