scala.slick.driver

JdbcProfile

trait JdbcProfile extends SqlProfile with JdbcTableComponent with JdbcInvokerComponent with JdbcInsertInvokerComponent with JdbcExecutorComponent 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. JdbcExecutorComponent
  5. JdbcInsertInvokerComponent
  6. JdbcInvokerComponent
  7. JdbcTableComponent
  8. SqlProfile
  9. SqlTableComponent
  10. SqlExecutorComponent
  11. RelationalProfile
  12. RelationalTypesComponent
  13. RelationalSequenceComponent
  14. RelationalTableComponent
  15. BasicProfile
  16. BasicExecutorComponent
  17. BasicInsertInvokerComponent
  18. BasicInvokerComponent
  19. AnyRef
  20. 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. class ModelBuilder extends AnyRef

    Build a Slick model from introspecting the jdbc meta data.

  24. 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
  25. class QueryExecutorDef[R] extends JdbcDriver.QueryExecutorDef[R]

    Base class for QueryExecutor implementations

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

    An Invoker for queries.

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

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

    In InsertInvoker that returns generated keys or other columns.

  29. type SchemaDescription = JdbcDriver.DDL

    The type of a schema description (DDL)

    The type of a schema description (DDL)

    Definition Classes
    SqlProfileBasicProfile
  30. trait SchemaDescriptionDef extends AnyRef

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

  31. class Sequence[T] extends Typed

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

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

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

    Definition Classes
    RelationalProfile
  35. 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(tables: Option[Seq[MTable]] = None, ignoreInvalidDefaults: Boolean = true)(implicit session: SessionDef): 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 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 createUpdateInvoker[T](tree: Node, param: Any): JdbcDriver.UpdateInvoker[T]

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

    Definition Classes
    JdbcTypesComponent
  37. def defaultTables(implicit session: SessionDef): 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
  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 hashCode(): Int

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

    Definition Classes
    JdbcProfileBasicProfile
  51. val invokerMutateConcurrency: ResultSetConcurrency

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  52. val invokerMutateType: ResultSetType

    Attributes
    protected
    Definition Classes
    JdbcInvokerComponent
  53. val invokerPreviousAfterDelete: Boolean

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

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

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

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

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

    Definition Classes
    AnyRef
  59. lazy val queryCompiler: QueryCompiler

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

    Definition Classes
    AnyRef
  62. def toString(): String

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

    Definition Classes
    JdbcProfileBasicProfile
  64. lazy val updateInsertCompiler: QueryCompiler

  65. lazy val upsertCompiler: QueryCompiler

  66. lazy val useServerSideUpsert: Boolean

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

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. 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 createModel(implicit session: SessionDef): Model

    Definition Classes
    JdbcModelComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1) use createModel() instead (appending parenthesis)

  2. final def getTables: Invoker[MTable]

    Definition Classes
    JdbcModelComponent
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1) use defaultTables instead

  3. 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

  4. 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 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