If this object represents a connection pool managed directly by Slick, close it.
If this object represents a connection pool managed directly by Slick, close it. Otherwise no action is taken.
Create a new Connection or get one from the pool
If this object represents a connection pool with a limited size, return the maximum pool size.
If this object represents a connection pool with a limited size, return the maximum pool size. Otherwise return None. This is required to prevent deadlocks when scheduling database actions.
A
JdbcDataSourceprovides a way to create aConnectionobject for a database. It is similar to ajavax.sql.DataSourcebut simpler. Unlike JdbcBackend.DatabaseDef it is not a part of the backend cake. This trait defines the SPI for 3rd-party connection pool support.