You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2014/03/31 01:37:14 UTC

[jira] [Updated] (STANBOL-1307) runSPARQL Method of RunSingleSPARQL Does Not Allow To Close QueryExecution

     [ https://issues.apache.org/jira/browse/STANBOL-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Furkan KAMACI updated STANBOL-1307:
-----------------------------------

    Attachment: STANBOL-1307.patch

I've removed the runSPARQL method and created a method to retrieve QueryExecution. So close method could be run at test method. Returning Resultset should be done at another architecture that collects ResultSet objects, closes the QueryExecution and returns collected ResultSet.

> runSPARQL Method of RunSingleSPARQL Does Not Allow To Close QueryExecution
> --------------------------------------------------------------------------
>
>                 Key: STANBOL-1307
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1307
>             Project: Stanbol
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Furkan KAMACI
>             Fix For: 1.0.0
>
>         Attachments: STANBOL-1307.patch
>
>
> runSPARQL Method of RunSingleSPARQL returns a ResultSet and it does not allow to close QueryExecution.  It is important to cleanly close the query execution when finished. System resources connected to persistent storage may need to be released. You can check it from here: http://jena.sourceforge.net/ARQ/app_api.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)