Merge pull request #2154 from mposolda/master
KEYCLOAK-1506 Mysql warning at startup
This commit is contained in:
commit
40fee55474
1 changed files with 6 additions and 1 deletions
|
@ -160,7 +160,12 @@ public class LiquibaseJpaUpdaterProvider implements JpaUpdaterProvider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void warning(String message) {
|
public void warning(String message) {
|
||||||
LiquibaseJpaUpdaterProvider.logger.warn(message);
|
// Ignore this warning as cascaded drops doesn't work anyway with all DBs, which we need to support
|
||||||
|
if ("Database does not support drop with cascade".equals(message)) {
|
||||||
|
LiquibaseJpaUpdaterProvider.logger.debug(message);
|
||||||
|
} else {
|
||||||
|
LiquibaseJpaUpdaterProvider.logger.warn(message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue