scala.slick.driver

JdbcModelComponent

trait JdbcModelComponent extends AnyRef

Self Type
JdbcDriver
Source
JdbcModelComponent.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JdbcModelComponent
  2. AnyRef
  3. 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. class ModelBuilder extends AnyRef

    Build a Slick model from introspecting the jdbc meta data.

    Build a Slick model from introspecting the jdbc meta data. Similar to SlickCodeGenerator, this is implemented as nested classes, which allow hooking into the behavior by overriding methods. This comes at the price of very tight coupling. In most cases you are better of transforming the generated model instead of overriding functionality here. It is only useful, if you need easy access to the jdbc meta data in order to influence how the model is generated. A good use case would be interpreting column types or default values Slick doesn't understand out of the box. If you just want to remove or hard code some default values, just transform the resulting model instead.

    The tight coupling can easily lead to sorce code incompatibilities in future versions. Avoid hooking in here if you don't have to.

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

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

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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

  9. def defaultTables(implicit session: SessionDef): Seq[MTable]

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

  10. def ensuring(cond: (JdbcModelComponent) ⇒ Boolean, msg: ⇒ Any): JdbcModelComponent

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

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

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

Deprecated Value Members

  1. def createModel(implicit session: SessionDef): Model

    Annotations
    @deprecated
    Deprecated

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

  2. final def getTables: Invoker[MTable]

    Annotations
    @deprecated
    Deprecated

    (Since version 2.1) use defaultTables instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JdbcModelComponent to any2stringadd[JdbcModelComponent]

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

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

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

Ungrouped