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

Re : CDILiquibase not reliable working

$
0
0
Looking at the code for CDILiquibase, it checks the liquibase.shouldRun flag and if it is false, it does not execute. 

Your easiest route would be to either set the liquibase.shouldRun system property to "false", or call 

  1. LiquibaseConfiguration.getInstance().getConfiguration(GlobalConfiguration.class).setShouldRun(false)
from somewhere in your code that executes before the CDI bootstrapping happens, possibly in a class's static{} block?

Nathan

Nathan

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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