Comment #4 on issue 183 by
kundu.an...@gmail.com: Calculation of checksum
I'm using flyway 2.3.0. I have the same problem except that I'm not really
changing or explicitly setting the Encoding. I'm assuming by default its
UTF-8. Here is my scenario:
1. The first time I run this in Linux. The scripts are run successfully.
2. The next time I run the same unchanged scripts (no updates; same
filesize) from Windows and reference to the same Oracle host/schema. I now
get the checksum exception.
Other than overriding the Flyway.validate(), is there a way to suppress the
checksum validation? Will setting the encoding explicitly help?
Exception in thread "main" com.googlecode.flyway.core.api.FlywayException:
Validate failed. Found differences between applied migrations and available
migrations: Migration Checksum mismatch for migration
14_1/V14_1_1__5349_asset_group_null_delete.sql: DB=********,
Classpath=*********
at com.googlecode.flyway.core.Flyway.doValidate(Flyway.java:917)
at com.googlecode.flyway.core.Flyway.access$300(Flyway.java:59)
at com.googlecode.flyway.core.Flyway$2.execute(Flyway.java:894)
at com.googlecode.flyway.core.Flyway$2.execute(Flyway.java:888)
at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1200)
at com.googlecode.flyway.core.Flyway.validate(Flyway.java:888)
at
com.xyz.dsp.pm.analytic.versioning.PmpVersioner.validateVersioner(PmpVersioner.java:146)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings