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

Gary Dusbabek commented on CASSANDRA-2277:
------------------------------------------

fwiw, I'm going to implement this after the manner of 
java.sql.PreparedStatement, although it would be nice to ve able to use the 
shorthand outlined by Eric in the description.

> 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
>            Assignee: Gary Dusbabek
>              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