Dan Smith created GEODE-3909:
--------------------------------

             Summary: Query.execute method should use varargs instead of 
Object[]
                 Key: GEODE-3909
                 URL: https://issues.apache.org/jira/browse/GEODE-3909
             Project: Geode
          Issue Type: Bug
          Components: querying
            Reporter: Dan Smith


Currently in order to execute a query with bind parameters, the user has to 
manually construct and array:

{code}
queryService.newQuery("select * from /region where name=$1").execute(new 
Object[] {"joe"});
{code}

Java supports varags that allow the user to call this same method without 
having to construct an array themselves:

{code}
queryService.newQuery("select * from /region where name=$1").execute("joe");
{code}

We just need to change the definition of execute to use Object... instead of 
Object[].





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to