622 questions
0 votes
0 answers
56 views
Spring Data Cassandra returns only 2 rows while there are 148
The query in ScyllaDB when run in console in IntelliJ returns 148 rows. select * from posts where author_id=f7af0560-d30a-4e84-adca-ca3acd956d17 ALLOW FILTERING But when I run it in Spring ...
0 votes
1 answer
40 views
Maven Resolving Incorrect Dependency for Cassandra Drivers
I have my POM file declared like this: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3....
2 votes
0 answers
42 views
Spring Data CassandraDriverTimeoutException
I'm getting sporadic timeout exceptions from the Cassandra driver in a Spring Boot project, in spite of having what I think are the appropriate yml configuration properties. spring: cassandra: ...
0 votes
0 answers
29 views
Spring Data Cassandra Custom Repository - No property 'save' found for type
I'm trying to create a custom Cassandra repository but I'm getting: No property 'save' found for type 'BookEntity' I've looked at the Spring Data docs and some of the other questions here in the ...
0 votes
0 answers
31 views
Efficient way to use spring data with cassandra for multiple keyspaces?
I need to develop a Cassandra application where each tenant can have their own keyspace and related tables for their needs. If I want to use spring data with Cassandra, probably starting with 10 ...
0 votes
1 answer
184 views
Java driver keeps reconnecting to old Cassandra pod IPs but pods have new IPs after restart
I have deployed a Java application as a pod in a Kubernetes environment, as well as Cassandra with a 3-node cluster. I am using Cassandra service FQDN to connect to Cassandra. Due to the Cassandra pod ...
1 vote
2 answers
59 views
Query for the most recent file version in a folder
I'm trying to get all the file_id items for the most recent version for the specified folder_id for the example_table defined below in Cassandra. Is this possible, or is my data designed incorrectly ...
0 votes
0 answers
75 views
Spring Data Cassandra customizing CqlSession and load properties from application.yml automatically?
I want to acquire the CqlSession Builder to customize my CqlSession when using Spring Data Cassandra. As I already put keyspace-name and local-datacenter in my application.yml, I hope something like ...
0 votes
0 answers
52 views
DataStax Cassandra Java Driver 4.14.x withSSLContext JDK root cert
Currently, I'm connecting my spring boot application to CassandraDB via SSL using the truststore file and password that are hardcoded in application.properties file. Due to security issue, I'm trying ...
1 vote
2 answers
241 views
Unable to connect to the remote Cassandra datacenter with the options provided in error
I'm trying to connect to two of my remote contact points using the Cassandra CqlSession class. I'm using spring boot 3.3.3 and spring-data-cassandra 4.3.3. Below are the datastax driver dependencies ...
-1 votes
1 answer
73 views
Connect multiple cassandra DB in spring boot application
Am trying to connect to multiple cassandra DB in springboot application,But when i ran cassandra query from repository class to get data from CassandraConfig2 am getting below error unconfigured table ...
0 votes
2 answers
594 views
Spring Boot Cassandra Connectivity Issue: Can't Connect to DataStax Astra DB
I'm working on a Spring Boot application that integrates with DataStax Astra DB using the Astra secure bundle. However, I’m encountering persistent issues when trying to establish a connection to the ...
1 vote
1 answer
91 views
Create Statement in Spring Data Cassandra
How can I create a Statement using Spring Data Cassandra in a way that spring would handle type conversion as well? If I have a simple query with simple types, I could write something like this: ...
0 votes
2 answers
59 views
Spring in Action, Sixth Edition page 96, docker commands errors
To the point I'm at I have run the following commands in my vs code terminal docker network create cassandra-net docker run --name my-cassandra --network cassandra-net -p 9042:9042 -d cassandra:latest ...
1 vote
1 answer
143 views
Spring Data Cassandra adhere Batch Limit
Using CassandraTemplate in spring I get a batchOps and then insert values in a batch CassandraBatchOperations batchOps = cassandraTemplate.batchOps(); batchOps.insert(listOfEntities); batchOps.execute(...