Greetings,
I’m still working on the same project I reported about here
But to keep the forum organized, I open a new thread for this problem.
I’m imitating the “Tutorial using Oracle” on Liquibase web site. I have a top level update.xml file that include other files in a hierarchy until reaching to the change sets xml files.
When I roll back the top update.xml file it works well. And it rolls back every thing, so the database is cleared.
When I open a command prompt window and navigate to the project folder and type the following:
>liquibase --changeLogFile=v000/tables/group.xml rollbackCount 1
I get this error:
- INFO 27/01/12 10:17 ╒:liquibase: Successfully acquired change log lock
INFO 27/01/12 10:17 ╒:liquibase: Reading from [dbo].[DATABASECHANGELOG]
INFO 27/01/12 10:17 ╒:liquibase: Successfully released change log lock
Liquibase Update Failed: Validation Failed:
1 change sets check sum
v000/tables/group.xml::5::ashraf is now: 3:6bf294520310e145119b039adfd
4c27b
SEVERE 27/01/12 10:17 ╒:liquibase: Validation Failed:
1 change sets check sum
v000/tables/group.xml::5::ashraf is now: 3:6bf294520310e145119b039adfd
4c27b
liquibase.exception.ValidationFailedException: Validation Failed:
1 change sets check sum
v000/tables/group.xml::5::ashraf is now: 3:6bf294520310e145119b039adfd
4c27b
at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java
:141)
at liquibase.Liquibase.rollback(Liquibase.java:242)
at liquibase.integration.commandline.Main.doMigration(Main.java:805)
at liquibase.integration.commandline.Main.main(Main.java:133)
For more information, use the --logLevel flag)
The check sum in the error is really different than that in the database.
How comes? Or the question is, why the two sums are different? Is the path from which Liquibase executes is fed as an argument to the check sum computation?