Skip to content

Commit d13827c

Browse files
author
Dave Syer
committed
Switch default query to 'select 1'
Fixes spring-projectsgh-555
1 parent 46fc5c0 commit d13827c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/SimpleHealthIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class SimpleHealthIndicator implements HealthIndicator<Map<String, Object
5050
queries.put("Apache Derby", "SELECT 1 FROM SYSIBM.SYSDUMMY1");
5151
}
5252

53-
private static String DEFAULT_QUERY = "SELECT 'Hello'";
53+
private static String DEFAULT_QUERY = "SELECT 1";
5454

5555
private String query = null;
5656

0 commit comments

Comments
 (0)