slick.driver

JdbcProfile

Related Docs: object JdbcProfile | package driver

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 StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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

  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

    Definition Classes
    SqlTableComponent
  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.

    An InsertInvoker that returns the number of affected rows.

    Definition Classes
    JdbcActionComponent
  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

    Definition Classes
    JdbcTypesComponent
  15. trait InsertActionComposer[U] extends JdbcDriver.SimpleInsertActionComposer[U]

    Extension methods to generate the JDBC-specific insert actions.

    Extension methods to generate the JDBC-specific insert actions.

    Definition Classes
    JdbcActionComponent
  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.

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

    Definition Classes
    JdbcActionComponent
  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]

    Definition Classes
    JdbcActionComponent
  29. trait QueryInvoker[R] extends StatementInvoker[R]

    An Invoker for queries.

    An Invoker for queries.

    Definition Classes
    JdbcInvokerComponent
  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.

    An InsertActionComposer that returns generated keys or other columns.

    Definition Classes
    JdbcActionComponent
  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

    Definition Classes
    JdbcActionComponent
  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.

    A schema description contains the SQL statements for creating and dropping database entities. Schema descriptions can be combined for creating or dropping multiple entities together, even if they have circular dependencies.

    Definition Classes
    BasicProfile
  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.

    Extension methods to generate the JDBC-specific insert actions.

    Definition Classes
    JdbcActionComponent
  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]

    Definition Classes
    JdbcActionComponent
  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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef → Any
  6. object Commit extends SynchronousDatabaseAction[Unit, NoStream, JdbcDriver.Backend, Effect]

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  7. object DDL

    Definition Classes
    SqlProfile
  8. object JdbcType

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

    Definition Classes
    JdbcProfileRelationalTypesComponent
  10. object MappedJdbcType extends JdbcDriver.MappedColumnTypeFactory

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

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

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  13. object Sequence

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

    Attributes
    protected
    Definition Classes
    JdbcActionComponent
  15. 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
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. val backend: JdbcDriver.Backend

    The back-end implementation for this profile

    The back-end implementation for this profile

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

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

    Definition Classes
    JdbcProfileRelationalTableComponent
  20. 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
  21. lazy val checkInsertCompiler: QueryCompiler

  22. def clone(): AnyRef

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

  24. val columnTypes: JdbcDriver.JdbcTypes

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

    (Partially) ompile an AST for insert operations

    (Partially) ompile an AST for insert operations

    Definition Classes
    JdbcProfileBasicProfile
  26. final lazy val compiler: QueryCompiler

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

    Compute the capabilities.

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

    Attributes
    protected
    Definition Classes
    JdbcProfileSqlProfileRelationalProfileBasicProfile
  28. def computeQueryCompiler: QueryCompiler

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

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

  31. 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
  32. def createModelBuilder(tables: Seq[MTable], ignoreInvalidDefaults: Boolean)(implicit ec: ExecutionContext): JdbcModelBuilder

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

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

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

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

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

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

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

    Definition Classes
    JdbcTypesComponent
  40. 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
  41. lazy val deleteCompiler: QueryCompiler

    The compiler used for deleting data

    The compiler used for deleting data

    Definition Classes
    JdbcProfileBasicProfile
  42. 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 Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  43. def ensuring(cond: (JdbcProfile) ⇒ Boolean): JdbcProfile

    Implicit information
    This member is added by an implicit conversion from JdbcProfile to Ensuring[JdbcProfile] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  44. 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 Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  45. def ensuring(cond: Boolean): JdbcProfile

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

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

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

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

  50. def formatted(fmtstr: String): String

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

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

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

    The compiler used for inserting data

    The compiler used for inserting data

    Definition Classes
    JdbcProfileBasicProfile
  54. val invokerMutateConcurrency: ResultSetConcurrency

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  55. val invokerMutateType: ResultSetType

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  56. val invokerPreviousAfterDelete: Boolean

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

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

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

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

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

    Definition Classes
    AnyRef
  62. lazy val queryCompiler: QueryCompiler

    The compiler used for queries

    The compiler used for queries

    Definition Classes
    JdbcProfileBasicProfile
  63. 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
  64. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  65. def toString(): String

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

    The compiler used for updates

    The compiler used for updates

    Definition Classes
    JdbcProfileBasicProfile
  67. lazy val updateInsertCompiler: QueryCompiler

  68. lazy val upsertCompiler: QueryCompiler

  69. lazy val useServerSideUpsert: Boolean

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

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

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

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

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

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

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

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

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 any2stringadd[JdbcProfile]

Inherited by implicit conversion StringFormat from JdbcProfile to StringFormat[JdbcProfile]

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

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

Ungrouped