[ 
https://issues.apache.org/jira/browse/STANBOL-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13954868#comment-13954868
 ] 

Furkan KAMACI edited comment on STANBOL-1307 at 3/30/14 11:45 PM:
------------------------------------------------------------------

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.

Tests are passed.


was (Author: kamaci):
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)

Reply via email to