wvlet.airframe.jdbc

Type members

Classlikes

Companion:
class
trait ConnectionPool extends LogSupport with AutoCloseable
Companion:
object
case class ConnectionPoolConfig(maxPoolSize: Int, autoCommit: Boolean, hikariConfig: HikariConfig => HikariConfig)
class ConnectionPoolFactory extends Guard with AutoCloseable with LogSupport

A factory for managing multiple connection pools and properly closes these pools upon shutdown

A factory for managing multiple connection pools and properly closes these pools upon shutdown

case class DbConfig(`type`: String, host: Option[String], database: String, port: Option[Int], user: Option[String], password: Option[String], driver: Option[String], connectionPool: ConnectionPoolConfig, postgres: PostgreSQLConfig)
Companion:
object
object DbConfig
Companion:
class
class GenericConnectionPool(val config: DbConfig) extends ConnectionPool
case class PostgreSQLConfig(useSSL: Boolean, sslFactory: String)
class SQLiteConnectionPool(val config: DbConfig) extends ConnectionPool with Guard

SQLite doesn't work well with HikariCP, so creating a simple one here

SQLite doesn't work well with HikariCP, so creating a simple one here