Replies: 4 comments 11 replies
-
@dinchand, good news for the fix 😄 Liquibase compliance mode is strongly recommended to avoid some unexpected behaviours happening in some scenarios (for example, creating a table and populating it immediately after will fail without the Liquibase compliance mode). Also, it seems you're trying to run classic Liquibase for SQL here because the query is not valid CQL ( An example of integration in a Spring application is available here: liquibase/liquibase-cassandra#212 (comment). Also, I already successfully ran the standard example provided in the Liquibase documentation as you could see in the issue #25. I hope a new version of Liquibase Cassandra will be released soon with this JDBC wrapper (since changes have been merged in their main branch few weeks ago: liquibase/liquibase-cassandra#205) |
Beta Was this translation helpful? Give feedback.
-
@maximevw Again thanks for the clear explanations and pointers. I was indeed missing the Liquibase Cassandra as dependency. Also after you suggested I tried using the latest Liquibase Cassandra. And now I hit
Possibly because the the CassandraConnection is an implementation of java.sql.Connection but liquibase has its own interface. |
Beta Was this translation helpful? Give feedback.
-
Hello @dinchand, Indeed, the latest version of Liquibase Cassandra (4.24.0) still relies on Simba JDBC driver, that's certainly why you got this cast exception. You currently have the following alternative:
|
Beta Was this translation helpful? Give feedback.
-
@maximevw Firstly Thanks for the release 4.10.2 which fixed my previous issue.
However I now encounter a new one . When I run it I now get
I did read about the compliance mode and #25 . I am not sure if all liquibase users should use that compliance mode. I tried with that as well but no luck. Any pointers ?
Beta Was this translation helpful? Give feedback.
All reactions