Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diff not displaying differences #14

Open
AbdullahChougle opened this issue Nov 8, 2017 · 0 comments
Open

diff not displaying differences #14

AbdullahChougle opened this issue Nov 8, 2017 · 0 comments

Comments

@AbdullahChougle
Copy link

Hi,
While comparing two schemas in my HANA db using the generateChangeLog command line statement, I get the no differences. When I set the log level to debug, I get the following information

liquibase: Did not find catalog 'DEFAULT' to snapshot liquibase: Did not find schema 'SomeSchema' to snapshot
similar message is displayed for the other schema

And no differences are displayed
Product Name: EQUAL
Product Version: EQUAL
Missing Catalog(s): NONE
Unexpected Catalog(s): NONE
Changed Catalog(s): NONE
Missing Column(s): NONE
Unexpected Column(s): NONE
Changed Column(s): NONE
Missing Foreign Key(s): NONE
Unexpected Foreign Key(s): NONE
Changed Foreign Key(s): NONE
Missing Index(s): NONE
Unexpected Index(s): NONE
Changed Index(s): NONE
Missing Primary Key(s): NONE
Unexpected Primary Key(s): NONE
Changed Primary Key(s): NONE
Missing Schema(s): NONE
Unexpected Schema(s): NONE
Changed Schema(s): NONE
Missing Sequence(s): NONE
Unexpected Sequence(s): NONE
Changed Sequence(s): NONE
Missing Stored Procedure(s): NONE
Unexpected Stored Procedure(s): NONE
Changed Stored Procedure(s): NONE
Missing Table(s): NONE
Unexpected Table(s): NONE
Changed Table(s): NONE
Missing Unique Constraint(s): NONE
Unexpected Unique Constraint(s): NONE
Changed Unique Constraint(s): NONE
Missing View(s): NONE
Unexpected View(s): NONE
Changed View(s): NONE
Liquibase 'diff' Successful

This is despite both the schemas are starkly different. After analyzing the differences, I want to generate the changelog to be created. As no differences are found, changelog is not generated.

The command used is

liquibase --driver=com.sap.db.jdbc.Driver --classpath=ngdbc.jar --classpath=liquibase-hana.jar --url=jdbc:sap://localhost:30015/ --username=MyUserName --password=MyPassword --logLevel=debug ---defaultSchemaName=FirstSchema diff --referenceUrl=jdbc:sap://localhost:30115/ --referenceUsername=OtherUserName --referencePassword=OtherPassWord --referenceDefaultSchemaName=RefSchemaName

Thanks,
Abdullah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant