Commit ea2a09cb authored by Johannes Stelzer's avatar Johannes Stelzer Committed by Stephane Nicoll

Add DB2 specific health query

Closes gh-2565
parent 2801f6a8
...@@ -58,6 +58,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment