wvlet.airframe.jdbc
package wvlet.airframe.jdbc
Members list
Type members
Classlikes
object ConnectionPool
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConnectionPool.type
trait ConnectionPool extends LogSupport, AutoCloseable
Attributes
- Companion
- object
- Supertypes
-
trait AutoCloseabletrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class EmbeddedDBConnectionPoolclass GenericConnectionPool
case class ConnectionPoolConfig(maxPoolSize: Int, autoCommit: Boolean, hikariConfig: HikariConfig => HikariConfig)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
class ConnectionPoolFactory extends Guard, AutoCloseable, 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
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait AutoCloseabletrait Guardclass Objecttrait Matchableclass AnyShow all
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)
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object DbConfig
class EmbeddedDBConnectionPool(val config: DbConfig) extends ConnectionPool, Guard
SQLite or DuckDB doesn't work well with HikariCP, so creating a simple one here
SQLite or DuckDB doesn't work well with HikariCP, so creating a simple one here
Attributes
- Supertypes
-
trait Guardtrait ConnectionPooltrait AutoCloseabletrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
class GenericConnectionPool(val config: DbConfig) extends ConnectionPool
Attributes
- Supertypes
-
trait ConnectionPooltrait AutoCloseabletrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article