Add Informix specific health query

Closes gh-1287
pull/3270/merge
Stephane Nicoll 10 years ago
parent 9250d7835c
commit 7ed1aa279a

@ -59,6 +59,7 @@ public class DataSourceHealthIndicator extends AbstractHealthIndicator implement
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"); queries.put("DB2", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
queries.put("Informix Dynamic Server", "select count(*) from systables");
PRODUCT_SPECIFIC_QUERIES = Collections.unmodifiableMap(queries); PRODUCT_SPECIFIC_QUERIES = Collections.unmodifiableMap(queries);
} }

Loading…
Cancel
Save