Add DB2 specific health query

Closes gh-2565
pull/3270/merge
Johannes Stelzer 10 years ago committed by Stephane Nicoll
parent 2801f6a848
commit ea2a09cbf6

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

Loading…
Cancel
Save