Questions tagged [cassandra-jdbc-driver]

8 questions
2
votes
2 answers

How can I implement Liquibase with scyllaDB?

I tried to implement Liquibase with Apache Cassandra using the guide Liquibase with Apache Cassandra. The guide was well-explained, and I was able to successfully implement the example. However, since I am new to ScyllaDB and Liquibase, I am now…
Asif
  • 198
  • 10
2
votes
0 answers

How can we use Liquibase for ScyllaDB?

I've read about Liquibase Migration Tool, and implemented it for Cassandra. For this, First I downloaded Liquibase (version 4.1.1) and add its directory path to PATH variable. $ echo…
1
vote
2 answers

Dockerized Liquibase cannot connect to Dockerized Scylladb, getting "DatabaseException: Connection could not be created"

I'm working with liquibase migration tool, it is working fine through terminal (update the table in scylla db). Now I want to dockerize it, for this I do the following steps: Create liquibase.properties file: changeLogFile: changelog.sql url:…
Asif
  • 198
  • 10
1
vote
1 answer

How can we upgrade our Java 7 code which uses JDBC connection to Cassandra?

Iam trying to connect to Cassandra DB using Java JDBC. I have a ConnectionManager class with a constructor accepting all the required params for connectivity. The application uses JDK 7 and now are planning to upgrade the project to JDK 11. We have…
1
vote
1 answer

Cassandra Simba driver doesn't respect fetch size

I'm using CassandraJDBC42.jar and I added setFetchSize=200 and I tried to pull 100k data it took a while so I tried to setFetchSize=5000 and it took the same time
aya ahmed
  • 11
  • 1
0
votes
1 answer

How do I drop a Cassandra table with Spark JDBC?

I'm writing a Spark-based app and have to drop some tables in Cassandra DB. I know how to read from tables with spark.read.format("jdbc"). I know how to save dataframe with df.write.format("jbdc"). But how can I drop a table that I don't need…
Felix
  • 3,351
  • 6
  • 40
  • 68
0
votes
1 answer

Can JDBC be used with Cassandra?

I have generic functions in my project that handle each database type, whether it's MySql or Oracle and more by using Statement and JDBC Connection. However when I try using them for supporting Cassandra, it doesn't work so I created a new function…
-1
votes
1 answer

Getting null PK_NAME when using the Cassandra JDBC driver

Currently I am trying to get the primaryKey from cassandra using JDBC API where I am using Apache Simba Driver . We are trying extracting the Primary Key Name but currently it is returning the value as null try (ResultSet pk =…