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

Andy Seaborne commented on JENA-945:
------------------------------------

Replacing the call of {{Query.setGroupBy}} by:

{noformat}
query.getGroupBy().clear() 
query.getGroupBy().addAll(...)
{noformat}

works -- I don't undertand why {{setGroupBy}} is needed.

> Add Seven methods to Query class
> --------------------------------
>
>                 Key: JENA-945
>                 URL: https://issues.apache.org/jira/browse/JENA-945
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.0.0
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>            Priority: Minor
>             Fix For: Jena 3.0.0
>
>
> The QueryBuilder uses reflection to perform some of its data manipulation.  
> This reflection will fail in an environment with Java Security Manager 
> enabled.
> This change is to add methods so that QueryBuilder no longer needs to use 
> reflection to get and set Query internal variables.
> The variables are:
> namedGraphURIs  -- get and set required. parameter/return: List<String>
> graphURIs -- get and set required. parameter/return: List<String>
> projectVars -- get and set required. parameter/return: VarExprList
> groupVars -- set required. parameter: VarExprList



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to