pg2 icon indicating copy to clipboard operation
pg2 copied to clipboard

Hikari connection pool

Open lindenes opened this issue 10 months ago • 3 comments

Hello, sorry about stupid question, do you have example work pg2 with hikari connection pool

lindenes avatar Mar 11 '25 20:03 lindenes

The need for something like hikari is reduced because of the built-in connection pool. See https://github.com/igrishaev/pg2/blob/master/docs/pool.md

jgdavey avatar Mar 17 '25 18:03 jgdavey

Dear @lindenes , sorry for some delay with response. At the moment, pg2 does not stack with Hikari CP pool. This pool relies on JDBC classes while PG2 implements its own stuff. But there is a built-in pool, you're welcome to check out the docs: https://github.com/igrishaev/pg2/blob/master/docs/pool.md

igrishaev avatar Mar 18 '25 07:03 igrishaev

I'll keep this issue open to check later if it's possible to tame Hikari pool in some way.

igrishaev avatar Mar 18 '25 07:03 igrishaev