[ https://issues.apache.org/jira/browse/GEODE-3909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Smith resolved GEODE-3909. ------------------------------ Resolution: Fixed Fix Version/s: 1.4.0 > 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 > Assignee: Dan Smith > Fix For: 1.4.0 > > > 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)