package jdbc
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait ConnectionPool extends LogSupport with AutoCloseable
- case class ConnectionPoolConfig(maxPoolSize: Int = 10, autoCommit: Boolean = true, hikariConfig: (HikariConfig) ⇒ HikariConfig = identity) extends Product with Serializable
-
class
ConnectionPoolFactory extends Guard with AutoCloseable with LogSupport
A factory for managing multiple connection pools and properly closes these pools upon shutdown
- case class DbConfig(type: String = "sqlite", host: Option[String] = None, database: String = "log/sample.db", port: Option[Int] = None, user: Option[String] = None, password: Option[String] = None, driver: Option[String] = None, connectionPool: ConnectionPoolConfig = ConnectionPoolConfig(), postgres: PostgreSQLConfig = PostgreSQLConfig()) extends Product with Serializable
- class GenericConnectionPool extends ConnectionPool
- case class PostgreSQLConfig(useSSL: Boolean = true, sslFactory: String = ...) extends Product with Serializable
-
class
SQLiteConnectionPool extends ConnectionPool with Guard
SQLite doesn't work well with HikariCP, so creating a simple one here
Value Members
- object ConnectionPool extends Serializable
- object DbConfig extends Serializable