slick.jdbc

JdbcBackend

trait JdbcBackend extends RelationalBackend

A JDBC-based database back-end which can be used for Plain SQL queries and with all slick.driver.JdbcProfile-based drivers.

Source
JdbcBackend.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JdbcBackend
  2. RelationalBackend
  3. DatabaseComponent
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class BaseSession extends SessionDef

  2. trait BasicActionContext extends ActionContext

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

  3. class BasicStreamingActionContext extends BasicActionContext with StreamingActionContext with Subscription

    A special DatabaseActionContext for streaming execution.

  4. type Context = JdbcActionContext

    The type of the context used for running SynchronousDatabaseActions

    The type of the context used for running SynchronousDatabaseActions

    Definition Classes
    JdbcBackendDatabaseComponent
  5. type Database = DatabaseDef

    The type of database objects used by this backend.

    The type of database objects used by this backend.

    Definition Classes
    JdbcBackendDatabaseComponent
  6. class DatabaseCapabilities extends AnyRef

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

  7. class DatabaseDef extends JdbcBackend.DatabaseDef

    A database instance to which connections can be created.

  8. type DatabaseFactory = DatabaseFactoryDef

    The type of the database factory used by this backend.

    The type of the database factory used by this backend.

    Definition Classes
    JdbcBackendDatabaseComponent
  9. trait DatabaseFactoryDef extends JdbcBackend.DatabaseFactoryDef

    Factory methods for creating Database instances.

  10. trait JdbcActionContext extends BasicActionContext

  11. class JdbcStreamingActionContext extends BasicStreamingActionContext with JdbcActionContext

  12. type Session = SessionDef

    The type of session objects used by this backend.

    The type of session objects used by this backend.

    Definition Classes
    JdbcBackendDatabaseComponent
  13. trait SessionDef extends JdbcBackend.SessionDef

    A logical session of a Database.

  14. type StreamingContext = JdbcStreamingActionContext

    The type of the context used for streaming SynchronousDatabaseActions

    The type of the context used for streaming SynchronousDatabaseActions

    Definition Classes
    JdbcBackendDatabaseComponent
  15. type This = JdbcBackend

    Definition Classes
    JdbcBackendDatabaseComponent

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (JdbcBackend, B)

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to ArrowAssoc[JdbcBackend] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. val Database: DatabaseFactoryDef

    The database factory

    The database factory

    Definition Classes
    JdbcBackendDatabaseComponent
  9. lazy val actionLogger: SlickLogger

    Attributes
    protected
    Definition Classes
    DatabaseComponent
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val backend: JdbcBackend

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def createDatabase(config: Config, path: String): Database

    Create a Database instance through Typesafe Config.

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

    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.

    Definition Classes
    JdbcBackendDatabaseComponent
  14. def ensuring(cond: (JdbcBackend) ⇒ Boolean, msg: ⇒ Any): JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to Ensuring[JdbcBackend] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (JdbcBackend) ⇒ Boolean): JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to Ensuring[JdbcBackend] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to Ensuring[JdbcBackend] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to Ensuring[JdbcBackend] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. lazy val streamLogger: SlickLogger

    Attributes
    protected
    Definition Classes
    DatabaseComponent
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (JdbcBackend, B)

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to ArrowAssoc[JdbcBackend] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcBackend: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcBackend: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def withDynamicSession[T](s: Session)(f: ⇒ T): T

    Run a block of code with the specified Session bound to the thread-local dynamicSession.

    Run a block of code with the specified Session bound to the thread-local dynamicSession.

    Attributes
    protected
    Definition Classes
    DatabaseComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0) Use the new Action-based API instead

  2. def x: JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to ArrowAssoc[JdbcBackend] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcBackend: ArrowAssoc[JdbcBackend]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: JdbcBackend

    Implicit information
    This member is added by an implicit conversion from JdbcBackend to Ensuring[JdbcBackend] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jdbcBackend: Ensuring[JdbcBackend]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from RelationalBackend

Inherited from DatabaseComponent

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JdbcBackend to StringAdd

Inherited by implicit conversion any2stringfmt from JdbcBackend to StringFormat

Inherited by implicit conversion any2ArrowAssoc from JdbcBackend to ArrowAssoc[JdbcBackend]

Inherited by implicit conversion any2Ensuring from JdbcBackend to Ensuring[JdbcBackend]

Ungrouped