Switch default query to 'select 1'

Fixes gh-555
This commit is contained in:
Dave Syer 2014-03-27 17:21:25 +00:00
parent 46fc5c05e3
commit d13827c45c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class SimpleHealthIndicator implements HealthIndicator<Map<String, Object
queries.put("Apache Derby", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
}
private static String DEFAULT_QUERY = "SELECT 'Hello'";
private static String DEFAULT_QUERY = "SELECT 1";
private String query = null;