Skip to content

Commit de6f86d

Browse files
committed
Override supports method in CassandraDatabaseConnection to avoid collisions with Liquibase code
DAT-20032
1 parent 85b35d1 commit de6f86d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/liquibase/ext/cassandra/database/CassandraDatabaseConnection.java

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ public int getPriority() {
1616
return PRIORITY_DATABASE + 200;
1717
}
1818

19+
@Override
20+
public boolean supports(String url) {
21+
return url.toLowerCase().startsWith("jdbc:cassandra");
22+
}
23+
1924
@Override
2025
public void open(String url, Driver driverObject, Properties driverProperties) throws DatabaseException {
2126
String jdbcUrl = url;

0 commit comments

Comments
 (0)