JdbcBackend

slick.jdbc.JdbcBackend
See theJdbcBackend companion object

A JDBC-based database back-end that is used by slick.jdbc.JdbcProfile.

Attributes

Companion
object
Source
JdbcBackend.scala
Graph
Supertypes
trait BasicBackend
class Object
trait Matchable
class Any
Known subtypes
object JdbcBackend.type

Members list

Type members

Classlikes

class BaseSession(val database: Database) extends JdbcSessionDef

Attributes

Source
JdbcBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
class DatabaseCapabilities(session: Session)

Describes capabilities of the database which can be determined from a DatabaseMetaData object and then cached and reused for all sessions.

Describes capabilities of the database which can be determined from a DatabaseMetaData object and then cached and reused for all sessions.

Attributes

Source
JdbcBackend.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
JdbcBackend.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
JdbcBackend.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class JdbcDatabaseDef(val source: JdbcDataSource, val executor: AsyncExecutor) extends BasicDatabaseDef

Attributes

Source
JdbcBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Attributes

Source
JdbcBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
Known subtypes
class BaseSession
Self type
class JdbcStreamingActionContext(subscriber: Subscriber[_], useSameThread: Boolean, database: Database, val bufferNext: Boolean) extends BasicStreamingActionContext, JdbcActionContext

Attributes

Source
JdbcBackend.scala
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Show all

Inherited classlikes

The context object passed to database actions by the execution engine.

The context object passed to database actions by the execution engine.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BasicDatabaseDef extends Closeable

A database instance to which connections can be created.

A database instance to which connections can be created.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
trait BasicSessionDef extends Closeable

A logical session of a Database. The underlying database connection is created lazily on demand.

A logical session of a Database. The underlying database connection is created lazily on demand.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
class BasicStreamingActionContext(subscriber: Subscriber[_], val useSameThread: Boolean, database: Database) extends BasicActionContext, StreamingActionContext, Subscription

A special DatabaseActionContext for streaming execution.

A special DatabaseActionContext for streaming execution.

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
Supertypes
trait Subscription
class Object
trait Matchable
class Any
Show all
Known subtypes

Types

The type of the context used for running SynchronousDatabaseActions

The type of the context used for running SynchronousDatabaseActions

Attributes

Source
JdbcBackend.scala

The type of database objects used by this backend.

The type of database objects used by this backend.

Attributes

Source
JdbcBackend.scala

The type of the database factory used by this backend.

The type of the database factory used by this backend.

Attributes

Source
JdbcBackend.scala

The type of session objects used by this backend.

The type of session objects used by this backend.

Attributes

Source
JdbcBackend.scala

The type of the context used for streaming SynchronousDatabaseActions

The type of the context used for streaming SynchronousDatabaseActions

Attributes

Source
JdbcBackend.scala

Value members

Concrete methods

def createDatabase(config: Config, path: String): Database

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Create a Database instance through Typesafe Config. The supported config keys are backend-specific. This method is used by DatabaseConfig.

Value parameters

config

The Config object to read from.

path

The path in the configuration file for the database configuration, or an empty string for the top level of the Config object.

Attributes

Source
JdbcBackend.scala

Concrete fields

The database factory

The database factory

Attributes

Source
JdbcBackend.scala

Attributes

Source
JdbcBackend.scala

Inherited fields

lazy protected val actionLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala
lazy protected val streamLogger: SlickLogger

Attributes

Inherited from:
BasicBackend
Source
BasicBackend.scala