How to get db connection from HikariCP

439 Views Asked by At

I added HikariCP and Ebean to my Play Framework project.

When the project starts, Play reporting that connection pool is created:

[info] application - Creating Pool for datasource 'default'

How can I retrieve this pool/connections for my own modules?

Versions: Play 2.5 (java), built-in HikariCP, built-in ebean

0

There are 0 best solutions below