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

Time:09-21

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?

CodePudding user response:

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

  • Related