SQLiteConnectionPool

wvlet.airframe.jdbc.SQLiteConnectionPool
class SQLiteConnectionPool(val config: DbConfig) extends ConnectionPool with Guard

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

Attributes

Graph
Supertypes
trait Guard
trait AutoCloseable
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def stop: Unit
def withConnection[U](body: Connection => U): U

Inherited methods

override def close(): Unit

Attributes

Definition Classes
ConnectionPool -> AutoCloseable
Inherited from:
ConnectionPool
inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def executeQuery[U](sql: String)(handler: ResultSet => U): U

Attributes

Inherited from:
ConnectionPool
def executeUpdate(sql: String): Int

Attributes

Inherited from:
ConnectionPool
def guard[U](body: => U): U

Attributes

Inherited from:
Guard
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
protected def newCondition: Condition

Attributes

Inherited from:
Guard
def queryWith[U](preparedStatement: String)(body: PreparedStatement => Unit)(handler: ResultSet => U): U

Attributes

Inherited from:
ConnectionPool
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def updateWith(preparedStatement: String)(body: PreparedStatement => Unit): Unit

Attributes

Inherited from:
ConnectionPool
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
def withTransaction[U](body: Connection => U): U

Attributes

Inherited from:
ConnectionPool

Concrete fields