[ 
https://issues.apache.org/jira/browse/CASSANDRA-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Evans updated CASSANDRA-2277:
----------------------------------

    Description: 
The Java driver should support parameter substitution such that given a query 
string and a sequence of arguments, question marks ('?') in the query string 
will be substituted with the arguments.

{code:style=Java}
conn.execute("SELECT ?,? FROM Standard1 WHERE KEY = ?", 10, 20, "foo")
{code} 

> parameter substitution for Java CQL driver
> ------------------------------------------
>
>                 Key: CASSANDRA-2277
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2277
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Eric Evans
>              Labels: cql
>             Fix For: 0.8
>
>
> The Java driver should support parameter substitution such that given a query 
> string and a sequence of arguments, question marks ('?') in the query string 
> will be substituted with the arguments.
> {code:style=Java}
> conn.execute("SELECT ?,? FROM Standard1 WHERE KEY = ?", 10, 20, "foo")
> {code} 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to