scala.slick.driver

JdbcProfile

trait JdbcProfile extends SqlProfile with JdbcTableComponent with JdbcInvokerComponent with JdbcInsertInvokerComponent with JdbcExecutorComponent with JdbcTypesComponent

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. JdbcTypesComponent
  3. JdbcExecutorComponent
  4. JdbcInsertInvokerComponent
  5. JdbcInvokerComponent
  6. JdbcTableComponent
  7. SqlProfile
  8. SqlTableComponent
  9. SqlExecutorComponent
  10. RelationalProfile
  11. RelationalTypesComponent
  12. RelationalSequenceComponent
  13. RelationalTableComponent
  14. BasicProfile
  15. BasicExecutorComponent
  16. BasicInsertInvokerComponent
  17. BasicInvokerComponent
  18. AnyRef
  19. 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. type Backend = JdbcBackend

    The back-end type required by this profile

    The back-end type required by this profile

    Definition Classes
    JdbcProfileBasicProfile
  2. type BaseColumnType[T] = JdbcType[T] with BaseTypedType[T]

    Definition Classes
    JdbcProfileRelationalTypesComponent
  3. abstract class BaseInsertInvoker[U] extends JdbcDriver.FullInsertInvokerDef[U]

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  4. trait ColumnOptions extends JdbcDriver.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
    JdbcProfileBasicInsertInvokerComponent
  7. class CountingInsertInvoker[U] extends JdbcDriver.BaseInsertInvoker[U] with JdbcDriver.CountingInsertInvokerDef[U]

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  8. trait CountingInsertInvokerDef[U] extends JdbcDriver.FullInsertInvokerDef[U]

    An InsertInvoker that returns the number of affected rows.

  9. trait DDL extends SqlDriver.SchemaDescriptionDef

    Definition Classes
    SqlProfile
  10. class DDLInvoker extends JdbcDriver.DDLInvoker

    Pseudo-invoker for running DDL statements.

  11. class DeleteInvoker extends AnyRef

    Pseudo-invoker for running DELETE calls.

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

    Definition Classes
    JdbcTypesComponent
  13. trait FullInsertInvokerDef[U] extends JdbcDriver.InsertInvokerDef[U]

    An InsertInvoker that can also insert from another query.

  14. trait ImplicitColumnTypes extends JdbcDriver.ImplicitColumnTypes

  15. trait Implicits extends JdbcDriver.LowPriorityImplicits with JdbcDriver.Implicits with JdbcDriver.ImplicitColumnTypes

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  16. type InsertInvoker[T] = JdbcDriver.CountingInsertInvokerDef[T]

    The type of insert invokers returned by the driver

    The type of insert invokers returned by the driver

    Definition Classes
    JdbcInsertInvokerComponentBasicInsertInvokerComponent
  17. trait InsertInvokerDef[U] extends JdbcDriver.InsertInvokerDef[U]

    The JDBC-specific InsertInvoker with additional methods

  18. trait IntoInsertInvokerDef[U, R] extends JdbcDriver.InsertInvokerDef[U]

    An InsertInvoker that returns a mapping of inserted values and generated keys.

  19. class JdbcTypes extends AnyRef

    Definition Classes
    JdbcTypesComponent
  20. trait LowPriorityImplicits extends AnyRef

  21. trait MappedColumnTypeFactory extends AnyRef

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

    Definition Classes
    JdbcTypesComponent
  23. type QueryExecutor[T] = JdbcDriver.QueryExecutorDef[T]

    The type of query executors returned by the driver

    The type of query executors returned by the driver

    Definition Classes
    JdbcExecutorComponentSqlExecutorComponentBasicExecutorComponent
  24. class QueryExecutorDef[R] extends JdbcDriver.QueryExecutorDef[R]

    Base class for QueryExecutor implementations

  25. class QueryInvoker[R] extends StatementInvoker[R] with MutatingStatementInvoker[R]

    An Invoker for queries.

  26. class ReturningInsertInvoker[U, RU] extends JdbcDriver.BaseInsertInvoker[U] with JdbcDriver.ReturningInsertInvokerDef[U, RU]

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  27. trait ReturningInsertInvokerDef[U, RU] extends JdbcDriver.FullInsertInvokerDef[U]

    In InsertInvoker that returns generated keys or other columns.

  28. type SchemaDescription = JdbcDriver.DDL

    The type of a schema description (DDL)

    The type of a schema description (DDL)

    Definition Classes
    SqlProfileBasicProfile
  29. trait SchemaDescriptionDef extends AnyRef

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

  30. class Sequence[T] extends Typed

    Definition Classes
    RelationalSequenceComponent
  31. trait SimpleQL extends JdbcDriver.SimpleQL with JdbcDriver.Implicits

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  32. abstract class Table[T] extends AbstractTable[T]

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

    Definition Classes
    RelationalProfile
  34. type UnshapedQueryExecutor[T] = JdbcDriver.UnshapedQueryExecutorDef[T]

    The type of query executors returned by the driver

    The type of query executors returned by the driver

    Definition Classes
    JdbcExecutorComponentBasicExecutorComponent
  35. class UnshapedQueryExecutorDef[M] extends JdbcDriver.UnshapedQueryExecutorDef[M]

  36. class UpdateInvoker[T] extends AnyRef

    Pseudo-invoker for running UPDATE calls.

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 DDL

    Definition Classes
    SqlProfile
  9. lazy val Implicit: JdbcDriver.Implicits

    Definition Classes
    JdbcProfileRelationalProfileBasicProfile
  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 Sequence

    Definition Classes
    RelationalSequenceComponent
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. val backend: JdbcDriver.Backend

    The back-end implementation for this profile

    The back-end implementation for this profile

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

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

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

  20. def clone(): AnyRef

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

  22. val columnTypes: JdbcDriver.JdbcTypes

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

    (Partially) ompile an AST for insert operations

    (Partially) ompile an AST for insert operations

    Definition Classes
    JdbcProfileBasicProfile
  24. final lazy val compiler: QueryCompiler

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

    Compute the capabilities.

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

    Attributes
    protected
    Definition Classes
    JdbcProfileSqlProfileRelationalProfileBasicProfile
  26. def computeQueryCompiler: QueryCompiler

    Attributes
    protected
    Definition Classes
    JdbcProfileRelationalProfile
  27. def createCountingInsertInvoker[U](compiled: JdbcDriver.CompiledInsert): JdbcDriver.CountingInsertInvokerDef[U]

    Definition Classes
    JdbcInsertInvokerComponent
  28. def createDDLInvoker(ddl: JdbcDriver.SchemaDescription): JdbcDriver.DDLInvoker

    Create a DDLInvoker -- this method should be implemented by drivers as needed

    Create a DDLInvoker -- this method should be implemented by drivers as needed

    Definition Classes
    JdbcInvokerComponentBasicInvokerComponent
  29. def createDeleteInvoker(tree: Node, param: Any): JdbcDriver.DeleteInvoker

    Definition Classes
    JdbcInvokerComponent
  30. def createInsertInvoker[U](tree: JdbcDriver.CompiledInsert): JdbcDriver.CountingInsertInvokerDef[U]

    Create an InsertInvoker -- this method should be implemented by drivers as needed

    Create an InsertInvoker -- this method should be implemented by drivers as needed

    Definition Classes
    JdbcInsertInvokerComponentBasicInsertInvokerComponent
  31. def createModel(implicit session: SessionDef): Model

    Gets the Slick data model describing this data source

  32. def createQueryExecutor[R](tree: Node, param: Any): JdbcDriver.QueryExecutor[R]

    Create an executor -- this method should be implemented by drivers as needed

    Create an executor -- this method should be implemented by drivers as needed

    Definition Classes
    JdbcExecutorComponentSqlExecutorComponentBasicExecutorComponent
  33. def createQueryInvoker[R](tree: Node, param: Any): JdbcDriver.QueryInvoker[R]

    Definition Classes
    JdbcInvokerComponent
  34. def createReturningInsertInvoker[U, RU](compiled: JdbcDriver.CompiledInsert, keys: Node): JdbcDriver.ReturningInsertInvokerDef[U, RU]

    Definition Classes
    JdbcInsertInvokerComponent
  35. def createUnshapedQueryExecutor[M](value: M): JdbcDriver.UnshapedQueryExecutor[M]

  36. def createUpdateInvoker[T](tree: Node, param: Any): JdbcDriver.UpdateInvoker[T]

    Definition Classes
    JdbcInvokerComponent
  37. def defaultSqlTypeName(tmd: JdbcType[_]): String

    Definition Classes
    JdbcTypesComponent
  38. lazy val deleteCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  39. 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
  40. 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
  41. 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
  42. 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
  43. final def eq(arg0: AnyRef): Boolean

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

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

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

  47. 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()
  48. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  49. def getTables: Invoker[MTable]

    Jdbc meta data for all tables

  50. def hashCode(): Int

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

    Definition Classes
    JdbcProfileBasicProfile
  52. val invokerMutateConcurrency: ResultSetConcurrency

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  53. val invokerMutateType: ResultSetType

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  54. val invokerPreviousAfterDelete: Boolean

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

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

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

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

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

    Definition Classes
    AnyRef
  60. lazy val queryCompiler: QueryCompiler

    Definition Classes
    JdbcProfileBasicProfile
  61. val simple: JdbcDriver.SimpleQL

    A collection of values for using the query language with a single import statement.

    A collection of values 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
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. def toString(): String

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

    Definition Classes
    JdbcProfileBasicProfile
  65. lazy val updateInsertCompiler: QueryCompiler

  66. lazy val upsertCompiler: QueryCompiler

  67. lazy val useServerSideUpsert: Boolean

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  68. lazy val useServerSideUpsertReturning: Boolean

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  69. lazy val useTransactionForUpsert: Boolean

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  70. lazy val useTransactionForUpsertReturning: Boolean

    Attributes
    protected
    Definition Classes
    JdbcInsertInvokerComponent
  71. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. 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 JdbcTypesComponent

Inherited from JdbcExecutorComponent

Inherited from JdbcInvokerComponent

Inherited from JdbcTableComponent

Inherited from SqlProfile

Inherited from SqlTableComponent

Inherited from SqlExecutorComponent

Inherited from RelationalProfile

Inherited from RelationalTypesComponent

Inherited from RelationalTableComponent

Inherited from BasicProfile

Inherited from BasicExecutorComponent

Inherited from BasicInvokerComponent

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