I updated my sample application to Helidon SE 2.1 and there is a ping statement for DB health:
db:
statement:
ping: "select 1"
And I am using Postgres for test purpose.
But it did not work now. I got the exception when I accessing the /health
endpoint.
{"ErrorClass":"java.util.concurrent.CompletionException",
"ErrorMessage":"org.postgresql.util.PSQLException: A result was returned when none was expected."}