Description
Currently in order to execute a query with bind parameters, the user has to manually construct and array:
queryService.newQuery("select * from /region where name=$1").execute(new Object[] {"joe"});
Java supports varags that allow the user to call this same method without having to construct an array themselves:
queryService.newQuery("select * from /region where name=$1").execute("joe");
We just need to change the definition of execute to use Object... instead of Object[].
Attachments
Issue Links
- links to