Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Wierd things with checksums

$
0
0
So we had a dropwizard application that was using liquibase. We ported that application to springboot and moved over the .xml file and ran it.

We got an

oracle.jdbc.OracleDatabaseException: ORA-00955 exception when running our code so apparently liquibase was trying to run our set.

We looked into the DATABASECHANGELOG and saw that the paths for the file didn't match, so we resynced everything with running the changelogSync command and it generated new entries for us with correct FILENAMES.

when running the code again we still get the same fault:

oracle.jdbc.OracleDatabaseException: ORA-00955

When debugging we can see the following, it generates a MD5 out of our xml, then it generates an MD5 out of the already generated MD5 in the database!?


Log:

  1. 2019-02-15 16:22:42.158 DEBUG 51968 --- [           main] liquibase.util.MD5Util                   : Computed checksum for createTable:[
  2.     columns=[
  3.         [
  4.             [
  5.                 nullable="false"
  6.                 primaryKey="true"
  7.             ]
  8.             name="LOAN_COLLECTION_ID"
  9.             type="varchar(56)"
  10.         ],
  11.         [
  12.             [
  13.                 nullable="false"
  14.             ]
  15.             name="ZIP_CODE"
  16.             type="varchar(6)"
  17.         ],
  18.         [
  19.             [
  20.                 nullable="true"
  21.             ]
  22.             name="BANK_NAME"
  23.             type="varchar(56)"
  24.         ],
  25.       ... [truncated in log] as 6655e2c8d7983a338d41895acba0b208
  26. 2019-02-15 16:22:42.160 DEBUG 51968 --- [           main] liquibase.util.MD5Util                   : Computed checksum for 8:6655e2c8d7983a338d41895acba0b208: as 97e4d04847a5754a05595ac8cdf76cd8
the checksum generated and the checksum in the database seems to be the same, (except for the 8 in the beginning). I have no idea...

help...

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>