database - Liquibase scripts are not getting executed during redeployment of .ear file -


I have a Liquibase script to add two tables in the H2 database, for the first time when the .ear file is deployed If so, the script runs and the tables are created. Later I have left both tables from the H2 database when I reuse the same .ear file, then the system reads the script but the tables are not generated. The log description is low

  INFO 10.10.14 14: 03: LiquidBase: Changes in the lock lock lock successfully. 10.10.14 14: 03: Sleibibes: Reading Changelog from Database 10.10.14 14 : 03: Sleibibes: Reading Information from Database 10.10.14 14: 03: LiquidBase: Change Lock Lock Successfully Issued   

Please give me a suggestion why the tables have not been made already Thanks

Liquibase in very DB Information about the changes applied to the tor (Changes in the database mentioned) Liquibase (and not sure) does not ensure that DB is in the state defined by the applied ingredients, but it depends on whether there is no magic change of third party. Drop or shorten the Liquibases tables and you will see that changes will be applied again.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -