How to check if database and connection to it is working well with hikaripool or quill?

Viewed 155

I am working with stack: scala, hikari-pool, quill, postgres. Are there any build-in instruments in hikari-pool/quill to check if connection is valid and database is ok?

1 Answers

You need to set the hikaricp.connectionTestQuery property in the HikariCP config to "SELECT 1".

Related