SQLAnywhere support (Driver not capable)

Description

When liquibase is used with an SQL Anywhere database, most operations turn into a "Driver not capable" stack trace (Tested with SQL Anywhere 16).

Liquibase is passing in a catalog value and SQL Anywhere does not support catalogs.

An example where this occurs is JdbcDatabaseSnapshot.java. If you change line

1 String catalog = ((AbstractJdbcDatabase) database).getJdbcCatalogName(catalogAndSchema);

into

1 String catalog = database instanceof SybaseASADatabase ? "" : ((AbstractJdbcDatabase) database).getJdbcCatalogName(catalogAndSchema);

things will start to work (at least for that call).

Environment

all

Status

Assignee

Unassigned

Reporter

Jan Penninkhof

Labels

None

Components

Fix versions

Affects versions

3.2.2

Priority

Critical