Merge pull request #2565 from joshiste/db2-health

* db2-health:
  Add DB2 specific health query
This commit is contained in:
Stephane Nicoll 2015-06-18 10:11:46 +02:00
commit 9250d7835c
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
+ "INFORMATION_SCHEMA.SYSTEM_USERS");
queries.put("Oracle", "SELECT 'Hello' from DUAL");
queries.put("Apache Derby", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
queries.put("DB2", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
PRODUCT_SPECIFIC_QUERIES = Collections.unmodifiableMap(queries);
}