@Repository
public interface RoundRepository extends CassandraRepository<Round, String> {
List<Round> findByInstanceId(String instanceId, Pageable pageable);
Round findByInstanceIdAndRound(String instanceId, long round);
long countByInstanceId(String instanceId);
}
I have repositories like this. And I want to use them to do async inserts and sync everything else. Can I do it in this style without native queries via AsyncCassandraTemplate? Didn't found any tips