java.lang.IllegalArgumentException: Prepared statement has only 2 variables, 3 values provided

Stack Overflow | Derecho | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cassandra prepared statement not recognizing placeholders

    Stack Overflow | 7 months ago | Derecho
    java.lang.IllegalArgumentException: Prepared statement has only 2 variables, 3 values provided

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Prepared statement has only 2 variables, 3 values provided

      at com.datastax.driver.core.BoundStatement.bind()
    2. DataStax Java Driver for Apache Cassandra - Core
      DefaultPreparedStatement.bind
      1. com.datastax.driver.core.BoundStatement.bind(BoundStatement.java:189)
      2. com.datastax.driver.core.DefaultPreparedStatement.bind(DefaultPreparedStatement.java:126)
      2 frames