Re: InvalidQueryException: Invalid amount of bind variables

2015-06-24 Thread Eax Melanhovich
Ok, I discovered that passing Statement instead of string to executeAsync method solves a problem: https://github.com/afiskon/scala-cassandra-example/commit/4f3f30597a4df340f739e4ec53ec9ee3d87da495 Still, according to documentation for getQueryString method described problem should be considered

InvalidQueryException: Invalid amount of bind variables

2015-06-24 Thread Eax Melanhovich
Hello. I'm having some problems with Cassandra driver for Java. Here is a simple Scala project: https://github.com/afiskon/scala-cassandra-example When I run it I get following output: http://paste.ubuntu.com/11767987/ As I understand this piece of code: ``` private val id = "id" private val