Package

wvlet.airframe

jdbc

Permalink

package jdbc

Visibility
  1. Public
  2. All

Type Members

  1. trait ConnectionPool extends LogSupport with AutoCloseable

    Permalink
  2. case class ConnectionPoolConfig(maxPoolSize: Int = 10, autoCommit: Boolean = true, hikariConfig: (HikariConfig) ⇒ HikariConfig = identity) extends Product with Serializable

    Permalink
  3. class ConnectionPoolFactory extends Guard with AutoCloseable with LogSupport

    Permalink

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

  4. 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

    Permalink

  5. class GenericConnectionPool extends ConnectionPool

    Permalink

  6. case class PostgreSQLConfig(useSSL: Boolean = true, sslFactory: String = ...) extends Product with Serializable

    Permalink
  7. class SQLiteConnectionPool extends ConnectionPool with Guard

    Permalink

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

Value Members

  1. object ConnectionPool extends Serializable

    Permalink
  2. object DbConfig extends Serializable

    Permalink

Ungrouped