public Long getChangeLogLockRecheckTime() { if (changeLogLockPollRate != null) { return changeLogLockPollRate; } return LiquibaseConfiguration.getInstance() .getConfiguration(GlobalConfiguration.class) .getDatabaseChangeLogLockPollRate(); }
/** @see liquibase.database.Database#getLiquibaseTablespaceName() */ @Override public String getLiquibaseTablespaceName() { if (liquibaseTablespaceName != null) { return liquibaseTablespaceName; } return LiquibaseConfiguration.getInstance() .getConfiguration(GlobalConfiguration.class) .getLiquibaseTablespaceName(); }
/** @see liquibase.database.Database#getDatabaseChangeLogLockTableName() */ @Override public String getDatabaseChangeLogLockTableName() { if (databaseChangeLogLockTableName != null) { return databaseChangeLogLockTableName; } return LiquibaseConfiguration.getInstance() .getConfiguration(GlobalConfiguration.class) .getDatabaseChangeLogLockTableName(); }
@Override public String getLiquibaseSchemaName() { if (liquibaseSchemaName != null) { return liquibaseSchemaName; } ConfigurationProperty configuration = LiquibaseConfiguration.getInstance() .getProperty(GlobalConfiguration.class, GlobalConfiguration.LIQUIBASE_SCHEMA_NAME); if (configuration.getWasOverridden()) { return configuration.getValue(String.class); } return getDefaultSchemaName(); }
@Before public void before() { LiquibaseConfiguration.getInstance().reset(); }