Add Informix specific health query

Closes gh-1287
This commit is contained in:
Stephane Nicoll 2015-06-18 10:13:32 +02:00
parent 9250d7835c
commit 7ed1aa279a
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
queries.put("Oracle", "SELECT 'Hello' from DUAL");
queries.put("Apache Derby", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
queries.put("DB2", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
queries.put("Informix Dynamic Server", "select count(*) from systables");
PRODUCT_SPECIFIC_QUERIES = Collections.unmodifiableMap(queries);
}