slick.driver

JdbcProfile

trait JdbcProfile extends SqlProfile with JdbcActionComponent with JdbcInvokerComponent with JdbcTypesComponent with JdbcModelComponent

A profile for accessing SQL databases via JDBC. All drivers for JDBC-based databases implement this profile.

Self Type
JdbcDriver
Source
JdbcProfile.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JdbcProfile
  2. JdbcModelComponent
  3. JdbcTypesComponent
  4. JdbcInvokerComponent
  5. JdbcActionComponent
  6. SqlProfile
  7. SqlActionComponent
  8. SqlTableComponent
  9. RelationalProfile
  10. RelationalActionComponent
  11. RelationalTypesComponent
  12. RelationalSequenceComponent
  13. RelationalTableComponent
  14. BasicProfile
  15. BasicActionComponent
  16. AnyRef
  17. 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. trait API extends JdbcDriver.LowPriorityAPI with JdbcDriver.API with JdbcDriver.ImplicitColumnTypes

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  2. type Backend = JdbcBackend

    The back-end type required by this profile

    The back-end type required by this profile

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  3. type BaseColumnType[T] = JdbcType[T] with BaseTypedType[T]

    Definition Classes
    JdbcProfileRelationalTypesComponent
  4. trait ColumnOptions extends SqlDriver.ColumnOptions

  5. type ColumnType[T] = JdbcType[T]

    Definition Classes
    JdbcProfileRelationalTypesComponent
  6. type CompiledInsert = JdbcDriver.JdbcCompiledInsert

    The type of a (partially) compiled AST for Insert operations.

    The type of a (partially) compiled AST for Insert operations. Unlike querying or deleting, inserts may require different compilation results which should be computed lazily.

    Definition Classes
    JdbcProfileBasicProfile
  7. trait CountingInsertActionComposer[U] extends JdbcDriver.InsertActionComposer[U]

    An InsertInvoker that returns the number of affected rows.

  8. class CountingInsertActionComposerImpl[U] extends JdbcDriver.InsertActionComposerImpl[U] with JdbcDriver.CountingInsertActionComposer[U]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  9. trait DDL extends SqlDriver.SchemaDescriptionDef

    Definition Classes
    SqlProfile
  10. type DeleteActionExtensionMethods = JdbcDriver.DeleteActionExtensionMethodsImpl

    Definition Classes
    JdbcActionComponent
  11. class DeleteActionExtensionMethodsImpl extends AnyRef

    Definition Classes
    JdbcActionComponent
  12. type DriverAction[+R, +S <: NoStream, -E <: Effect] = FixedSqlAction[R, S, E]

  13. abstract class DriverJdbcType[T] extends JdbcType[T]

    Definition Classes
    JdbcTypesComponent
  14. trait ImplicitColumnTypes extends JdbcDriver.ImplicitColumnTypes

  15. trait InsertActionComposer[U] extends JdbcDriver.SimpleInsertActionComposer[U]

    Extension methods to generate the JDBC-specific insert actions.

  16. abstract class InsertActionComposerImpl[U] extends JdbcDriver.InsertActionComposer[U]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  17. type InsertActionExtensionMethods[T] = JdbcDriver.CountingInsertActionComposer[T]

  18. trait InsertActionExtensionMethodsImpl[T] extends AnyRef

    Definition Classes
    RelationalActionComponent
  19. trait IntoInsertActionComposer[U, RU] extends JdbcDriver.SimpleInsertActionComposer[U]

    An InsertActionComposer that returns a mapping of the inserted and generated data.

  20. class JdbcActionExtensionMethods[E <: Effect, R, S <: NoStream] extends AnyRef

    Definition Classes
    JdbcActionComponent
  21. class JdbcTypes extends AnyRef

    Definition Classes
    JdbcTypesComponent
  22. trait LowPriorityAPI extends AnyRef

  23. trait MappedColumnTypeFactory extends AnyRef

    Definition Classes
    RelationalTypesComponent
  24. abstract class MappedJdbcType[T, U] extends JdbcType[T]

    Definition Classes
    JdbcTypesComponent
  25. class MutatingResultAction[T] extends SynchronousDatabaseAction[Nothing, Streaming[ResultSetMutator[T]], JdbcDriver.Backend, Effect] with JdbcDriver.DriverAction[Nothing, Streaming[ResultSetMutator[T]], Effect]

    Definition Classes
    JdbcActionComponent
  26. class PushStatementParameters extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  27. type QueryActionExtensionMethods[R, S <: NoStream] = JdbcDriver.QueryActionExtensionMethodsImpl[R, S]

  28. class QueryActionExtensionMethodsImpl[R, S <: NoStream] extends JdbcDriver.QueryActionExtensionMethodsImpl[R, S]

  29. trait QueryInvoker[R] extends StatementInvoker[R]

    An Invoker for queries.

  30. class QueryInvokerImpl[R] extends StatementInvoker[R] with JdbcDriver.QueryInvoker[R]

    Definition Classes
    JdbcInvokerComponent
  31. trait ReturningInsertActionComposer[U, RU] extends JdbcDriver.InsertActionComposer[U] with JdbcDriver.IntoInsertActionComposer[U, RU]

    An InsertActionComposer that returns generated keys or other columns.

  32. class ReturningInsertActionComposerImpl[U, QR, RU] extends JdbcDriver.InsertActionComposerImpl[U] with JdbcDriver.ReturningInsertActionComposer[U, RU]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  33. type SchemaActionExtensionMethods = JdbcDriver.SchemaActionExtensionMethodsImpl

  34. class SchemaActionExtensionMethodsImpl extends JdbcDriver.SchemaActionExtensionMethodsImpl

  35. type SchemaDescription = JdbcDriver.DDL

    The type of a schema description (DDL)

    The type of a schema description (DDL)

    Definition Classes
    SqlProfileBasicProfile
  36. trait SchemaDescriptionDef extends AnyRef

    A schema description contains the SQL statements for creating and dropping database entities.

  37. class Sequence[T] extends AnyRef

    Definition Classes
    RelationalSequenceComponent
  38. class SetTransactionIsolation extends SynchronousDatabaseAction[Int, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  39. trait SimpleInsertActionComposer[U] extends JdbcDriver.InsertActionExtensionMethodsImpl[U]

    Extension methods to generate the JDBC-specific insert actions.

  40. abstract class SimpleJdbcDriverAction[+R] extends SynchronousDatabaseAction[R, NoStream, JdbcDriver.Backend, Effect] with JdbcDriver.DriverAction[R, NoStream, Effect]

    Definition Classes
    JdbcActionComponent
  41. type StreamingDriverAction[+R, +T, -E <: Effect] = FixedSqlStreamingAction[R, T, E]

  42. type StreamingQueryActionExtensionMethods[R, T] = JdbcDriver.StreamingQueryActionExtensionMethodsImpl[R, T]

  43. class StreamingQueryActionExtensionMethodsImpl[R, T] extends JdbcDriver.QueryActionExtensionMethodsImpl[R, Streaming[T]] with JdbcDriver.StreamingQueryActionExtensionMethodsImpl[R, T]

  44. abstract class Table[T] extends AbstractTable[T]

    Definition Classes
    RelationalTableComponent
  45. class TableQueryExtensionMethods[T <: Table[_], U] extends AnyRef

    Definition Classes
    RelationalProfile
  46. type UpdateActionExtensionMethods[T] = JdbcDriver.UpdateActionExtensionMethodsImpl[T]

    Definition Classes
    JdbcActionComponent
  47. class UpdateActionExtensionMethodsImpl[T] extends AnyRef

    Definition Classes
    JdbcActionComponent

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 JdbcProfile to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (JdbcProfile, B)

    Implicit information
    This member is added by an implicit conversion from JdbcProfile to ArrowAssoc[JdbcProfile] 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. object Commit extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  9. object DDL

    Definition Classes
    SqlProfile
  10. object JdbcType

    Definition Classes
    JdbcTypesComponent
  11. lazy val MappedColumnType: JdbcDriver.MappedJdbcType.type

    Definition Classes
    JdbcProfileRelationalTypesComponent
  12. object MappedJdbcType extends JdbcDriver.MappedColumnTypeFactory

    Definition Classes
    JdbcTypesComponent
  13. object PopStatementParameters extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  14. object Rollback extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  15. object Sequence

    Definition Classes
    RelationalSequenceComponent
  16. object StartTransaction extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  17. val api: JdbcDriver.API

    The API for using the query language with a single import statement.

    The API for using the query language with a single import statement. This provides the driver's implicits, the Database and Session objects for DB connections, and commonly used query language types and objects.

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. val backend: JdbcDriver.Backend

    The back-end implementation for this profile

    The back-end implementation for this profile

    Definition Classes
    JdbcProfileBasicProfile
  20. final def buildSequenceSchemaDescription(seq: JdbcDriver.Sequence[_]): JdbcDriver.DDL

  21. final def buildTableSchemaDescription(table: JdbcDriver.Table[_]): JdbcDriver.DDL

    Definition Classes
    JdbcProfileRelationalTableComponent
  22. final val capabilities: Set[Capability]

    The capabilities supported by this driver.

    The capabilities supported by this driver. This can be used to query at runtime whether a specific feature is supported.

    Definition Classes
    BasicProfile
  23. lazy val checkInsertCompiler: QueryCompiler

  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val columnOptions: JdbcDriver.ColumnOptions

  26. val columnTypes: JdbcDriver.JdbcTypes

  27. def compileInsert(tree: Node): JdbcDriver.JdbcCompiledInsert

    (Partially) ompile an AST for insert operations

    (Partially) ompile an AST for insert operations

    Definition Classes
    JdbcProfileBasicProfile
  28. final lazy val compiler: QueryCompiler

    Definition Classes
    RelationalProfile
  29. def computeCapabilities: Set[Capability]

    Compute the capabilities.

    Compute the capabilities. This should be overridden in subclasses as needed.

    Attributes
    protected
    Definition Classes
    JdbcProfileSqlProfileRelationalProfileBasicProfile
  30. def computeQueryCompiler: QueryCompiler

    Attributes
    protected
    Definition Classes
    SqlProfileRelationalProfile
  31. def createDeleteActionExtensionMethods(tree: Node, param: Any): JdbcDriver.DeleteActionExtensionMethods

    Definition Classes
    JdbcActionComponent
  32. def createInsertActionExtensionMethods[T](compiled: JdbcDriver.CompiledInsert): JdbcDriver.InsertActionExtensionMethods[T]

  33. def createModel(tables: Option[DBIO[Seq[MTable]]] = None, ignoreInvalidDefaults: Boolean = true)(implicit ec: ExecutionContext): DBIO[Model]

    Gets the Slick data model describing this data source

    Gets the Slick data model describing this data source

    tables

    used to build the model, uses defaultTables if None given

    ignoreInvalidDefaults

    logs unrecognized default values instead of throwing an exception

    Definition Classes
    JdbcModelComponent
  34. def createModelBuilder(tables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext): JdbcModelBuilder

    Definition Classes
    JdbcModelComponent
  35. def createQueryActionExtensionMethods[R, S <: NoStream](tree: Node, param: Any): JdbcDriver.QueryActionExtensionMethods[R, S]

  36. def createQueryInvoker[R](tree: Node, param: Any, sql: String): JdbcDriver.QueryInvokerImpl[R]

    Definition Classes
    JdbcInvokerComponent
  37. def createReturningInsertActionComposer[U, QR, RU](compiled: JdbcDriver.CompiledInsert, keys: Node, mux: (U, QR) ⇒ RU): JdbcDriver.ReturningInsertActionComposer[U, RU]

    Definition Classes
    JdbcActionComponent
  38. def createSchemaActionExtensionMethods(schema: JdbcDriver.SchemaDescription): JdbcDriver.SchemaActionExtensionMethods

  39. def createStreamingQueryActionExtensionMethods[R, T](tree: Node, param: Any): JdbcDriver.StreamingQueryActionExtensionMethods[R, T]

  40. def createUpdateActionExtensionMethods[T](tree: Node, param: Any): JdbcDriver.UpdateActionExtensionMethods[T]

    Definition Classes
    JdbcActionComponent
  41. def defaultSqlTypeName(tmd: JdbcType[_], sym: Option[FieldSymbol]): String

    Definition Classes
    JdbcTypesComponent
  42. def defaultTables(implicit ec: ExecutionContext): DBIO[Seq[MTable]]

    Jdbc meta data for all tables included in the Slick model by default

    Jdbc meta data for all tables included in the Slick model by default

    Definition Classes
    JdbcModelComponent
  43. lazy val deleteCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  44. def ensuring(cond: (JdbcProfile) ⇒ Boolean, msg: ⇒ Any): JdbcProfile

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  51. lazy val forceInsertCompiler: QueryCompiler

  52. def formatted(fmtstr: String): String

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

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

    Definition Classes
    AnyRef → Any
  55. lazy val insertCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  56. val invokerMutateConcurrency: ResultSetConcurrency

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  57. val invokerMutateType: ResultSetType

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  58. val invokerPreviousAfterDelete: Boolean

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  59. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  60. def jdbcTypeFor(t: Type): JdbcType[Any]

    Definition Classes
    JdbcTypesComponent
  61. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  64. lazy val queryCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  65. def runSynchronousQuery[R](tree: Node, param: Any)(implicit session: SessionDef): R

    Run a query synchronously on the provided session.

    Run a query synchronously on the provided session. This is used by DistributedDriver until we can make it fully asynchronous.

    Definition Classes
    JdbcProfileRelationalProfile
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  67. def toString(): String

    Definition Classes
    AnyRef → Any
  68. lazy val updateCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  69. lazy val updateInsertCompiler: QueryCompiler

  70. lazy val upsertCompiler: QueryCompiler

  71. lazy val useServerSideUpsert: Boolean

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  72. lazy val useServerSideUpsertReturning: Boolean

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  73. lazy val useTransactionForUpsert: Boolean

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  74. lazy val useTransactionForUpsertReturning: Boolean

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  75. final def wait(): Unit

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

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

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

    Implicit information
    This member is added by an implicit conversion from JdbcProfile to ArrowAssoc[JdbcProfile] 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 JdbcProfile 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:
    (jdbcProfile: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from JdbcProfile 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:
    (jdbcProfile: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: JdbcProfile

    Implicit information
    This member is added by an implicit conversion from JdbcProfile to ArrowAssoc[JdbcProfile] 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:
    (jdbcProfile: ArrowAssoc[JdbcProfile]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: JdbcProfile

    Implicit information
    This member is added by an implicit conversion from JdbcProfile to Ensuring[JdbcProfile] 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:
    (jdbcProfile: Ensuring[JdbcProfile]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from JdbcModelComponent

Inherited from JdbcTypesComponent

Inherited from JdbcInvokerComponent

Inherited from JdbcActionComponent

Inherited from SqlProfile

Inherited from SqlActionComponent

Inherited from SqlTableComponent

Inherited from RelationalProfile

Inherited from RelationalActionComponent

Inherited from RelationalTypesComponent

Inherited from RelationalTableComponent

Inherited from BasicProfile

Inherited from BasicActionComponent

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JdbcProfile to StringAdd

Inherited by implicit conversion any2stringfmt from JdbcProfile to StringFormat

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

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

Ungrouped