I\'m trying to query a Cassandra table using the IN clause and the @Query annotation from Spring Data. I have a table with a partition key of last_name and a clustering key
Nitish Bhagat is right, with the current version spring-data-cassandra:2.0.6.RELEASE it does NOT work with the braces.
For me, it works ONLY without the braces like: @Query("SELECT * FROM people WHERE first_name IN ?0") public List findByFirstName(List firstName);
@Query("SELECT * FROM people WHERE first_name IN ?0") public List findByFirstName(List firstName);