Skip to content

Conversation

rsatishm
Copy link

Upgraded to com.datastax.oss:java-driver-core:4.14.0

if (null == keyspace.getCluster())
throw new IllegalArgumentException("Unable to establish Cassandra session. Cluster is not configured.");

com.datastax.driver.core.Cluster.Builder builder = new com.datastax.driver.core.Cluster.Builder();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm performing an upgrage to cassandra 4 on my project too.
Do you have any reason to use com.datastax.driver.core.Cluster.Builder and not com.datastax.oss.driver.api.core.CqlSessionBuilder ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. There were more changes I just checked in all those files. Pls. take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants