I would like to do a select with two IN, but I always get:
com.datastax.oss.driver.api.core.type.codec.CodecNotFoundException: Codec not found for requested operation: [INT <-> java.util.List<java.lang.Integer>]
When I select for just a single column_two and column_three it works fine, and I also can run the query directly on the database without problems.
@Select(customWhereClause = "column_one = :columnOne AND column_two IN (:columnTwoList) AND column_three IN (:columnThree)") MutinyMappedReactiveResultSet<NotificationRecord> findByIds(Integer columnOne, List<Integer> columnTwoList, List<Integer> columnThree);
SOLUTION: The Problem could be fixed by removing the parantheses from the query. Like:
@Select(customWhereClause = "column_one = :columnOne AND column_two IN :columnTwoList AND column_three IN :columnThree") MutinyMappedReactiveResultSet<NotificationRecord> findByIds(Integer columnOne, List<Integer> columnTwoList, List<Integer> columnThree);