Skip to:
The method getDefaultCatalogName() in liquibase.database.core.DB2Database returns the defaultSchemaName if the defaultCatalogName is not null:
DB2 (AS400)
Merged pull request https://github.com/liquibase/liquibase/pull/218
I have updated the code in a fork and created a pull request.
(workaround until the fix is merged is create a new class (eg MyDatabase) that extends DB2Database and register it to the DatabaseFactory.
The fix is:
The method getDefaultCatalogName() in liquibase.database.core.DB2Database returns the defaultSchemaName if the defaultCatalogName is not null: