dbSanity.setIgnorableTables(config.getTableExclusionPattern());
if (config.getAppVersion() != null)
dbSanity.setVersionProvider(new ConstantVersionProvider(config.getAppVersion()));
// evaluate DB Sanity results
SanityCheckSuite suite = dbSanity.execute();
if (suite.countErredChecks() > 0)
LOGGER.error("Some checks resulted in SQL errors. " +
"If this is not a database connection problem, " +
"please contact Databene with a problem description");
else if (suite.getDefectCount() > 0)