cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eax Melanhovich <>
Subject InvalidQueryException: Invalid amount of bind variables
Date Wed, 24 Jun 2015 14:35:22 GMT

I'm having some problems with Cassandra driver for Java.

Here is a simple Scala project:

When I run it I get following output:

As I understand this piece of code:

private val id = "id"
private val description = "description"

  .value(description, dto.descr)

... generates query string:

INSERT INTO todo_list(id,description) VALUES (1,?)

But I can't figure out why the second value is missing.

What am I doing wrong?

Best regards,
Eax Melanhovich

View raw message