You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2011/03/05 20:24:45 UTC
[jira] Updated: (CASSANDRA-2277) parameter substitution for Java
CQL driver
[ 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