Attributes
- Companion
- class
- Source
- transactor.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Transactor.type
Members list
Grouped members
Constructors
Construct a Transactor that wraps an existing java.sql.Connection. Closing the connection is the responsibility of the caller.
Construct a Transactor that wraps an existing java.sql.Connection. Closing the connection is the responsibility of the caller.
Attributes
- Source
- transactor.scala
Construct a constructor of Transactor[M, D]
for some D <: DataSource
by partial application of M
, which cannot be inferred in general.
Construct a constructor of Transactor[M, D]
for some D <: DataSource
by partial application of M
, which cannot be inferred in general.
Attributes
- Source
- transactor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
fromDataSource.type
Module of constructors for Transactor that use the JDBC java.sql.DriverManager to allocate connections. Note that java.sql.DriverManager is unbounded and will happily allocate new connections until server resources are exhausted. It is usually preferable to use a Transactor backed by a javax.sql.DataSource with an underlying bounded connection pool (as with H2Transactor
and HikariTransactor
for instance). Blocking operations are executed on an unbounded cached daemon thread pool by default, so you are also at risk of exhausting system threads. TL;DR this is fine for console apps but don't use it for a web application.
Module of constructors for Transactor that use the JDBC java.sql.DriverManager to allocate connections. Note that java.sql.DriverManager is unbounded and will happily allocate new connections until server resources are exhausted. It is usually preferable to use a Transactor backed by a javax.sql.DataSource with an underlying bounded connection pool (as with H2Transactor
and HikariTransactor
for instance). Blocking operations are executed on an unbounded cached daemon thread pool by default, so you are also at risk of exhausting system threads. TL;DR this is fine for console apps but don't use it for a web application.
Attributes
- Source
- transactor.scala
Lenses
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Attributes
- Source
- transactor.scala
Type members
Classlikes
Attributes
- Source
- transactor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- transactor.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Types
Attributes
- Source
- transactor.scala
Value members
Concrete methods
Attributes
- Source
- transactor.scala