You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my code which works with liquibase-core 4.14.0 but not with 4.29.2. Because of vulnerabilities in dependencies of liquibase-core I’ve upgraded liquibase-core and liquibase-hanadb to 4.29.2. I have also upgraded the ngdbc to 2.21.11.
HanaDatabase hdb = new HanaDatabase();
hdb.setConnection(new JdbcConnection(connection));
hdb.setDefaultSchemaName(db.getName());
Liquibase liquibase = new liquibase.Liquibase(path, new ClassLoaderResourceAccessor(), hdb);
liquibase.update(new Contexts(), new LabelExpression());
liquibase.close();
I get the following error:
ERROR: Exception Details
ERROR: Exception Primary Class: ValidationFailedException
ERROR: Exception Primary Reason: Validation Failed:
43 changes have validation failures
hana is not a supported DB
hana is not a supported DB
hana is not a supported DB
...
The vulnerability exists in liquibase-core up to and including 4.20.0. Any version after 4.20.0 and I get the above issue. Does anyone have Java code working to do Liquibase updates to HANA with liquibase 4.29.2?
Thank You,
Nate
The text was updated successfully, but these errors were encountered:
This is my code which works with liquibase-core 4.14.0 but not with 4.29.2. Because of vulnerabilities in dependencies of liquibase-core I’ve upgraded liquibase-core and liquibase-hanadb to 4.29.2. I have also upgraded the ngdbc to 2.21.11.
pom.xml:
Relevant Code:
I get the following error:
I have looked into using the CommandScope as outlined here but have had no luck: https://contribute.liquibase.com/extensions-integrations/integration-guides/calling-commands/
The vulnerability exists in liquibase-core up to and including 4.20.0. Any version after 4.20.0 and I get the above issue. Does anyone have Java code working to do Liquibase updates to HANA with liquibase 4.29.2?
Thank You,
Nate
The text was updated successfully, but these errors were encountered: