slick.jdbc

DriverDataSource

class DriverDataSource extends DataSource with Closeable with Logging

A DataSource that wraps the DriverManager API. It can be configured as a Java Bean and used both stand-alone and as a source for a connection pool.

Source
DriverDataSource.scala
Linear Supertypes
Logging, Closeable, AutoCloseable, DataSource, Wrapper, CommonDataSource, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DriverDataSource
  2. Logging
  3. Closeable
  4. AutoCloseable
  5. DataSource
  6. Wrapper
  7. CommonDataSource
  8. AnyRef
  9. 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

Instance Constructors

  1. new DriverDataSource()

  2. new DriverDataSource(url: String, user: String = null, password: String = null, properties: Properties = null, driverClassName: String = null, deregisterDriver: Boolean = false, driverObject: Driver = null, classLoader: ClassLoader = ...)

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

    Implicit information
    This member is added by an implicit conversion from DriverDataSource to ArrowAssoc[DriverDataSource] 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. var classLoader: ClassLoader

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def close(): Unit

    Definition Classes
    DriverDataSource → Closeable → AutoCloseable
  12. var deregisterDriver: Boolean

  13. var driverClassName: String

  14. var driverObject: Driver

  15. def ensuring(cond: (DriverDataSource) ⇒ Boolean, msg: ⇒ Any): DriverDataSource

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  24. def getConnection(username: String, password: String): Connection

    Definition Classes
    DriverDataSource → DataSource
  25. def getConnection(): Connection

    Definition Classes
    DriverDataSource → DataSource
  26. def getDeregisterDriver(): Boolean

  27. def getDriver: String

  28. def getDriverClassName(): String

  29. def getLogWriter(): PrintWriter

    Definition Classes
    DriverDataSource → CommonDataSource
  30. def getLoginTimeout(): Int

    Definition Classes
    DriverDataSource → CommonDataSource
  31. def getParentLogger(): Logger

    Definition Classes
    DriverDataSource → CommonDataSource
  32. def getPassword(): String

  33. def getProperties(): Properties

  34. def getUrl(): String

  35. def getUser(): String

  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. def init: Unit

  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. def isWrapperFor(iface: Class[_]): Boolean

    Definition Classes
    DriverDataSource → Wrapper
  40. lazy val logger: SlickLogger

    Attributes
    protected[this]
    Definition Classes
    Logging
  41. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  44. var password: String

  45. var properties: Properties

  46. def setDeregisterDriver(arg0: Boolean): Unit

  47. def setDriver(s: String): Unit

  48. def setDriverClassName(arg0: String): Unit

  49. def setLogWriter(out: PrintWriter): Unit

    Definition Classes
    DriverDataSource → CommonDataSource
  50. def setLoginTimeout(seconds: Int): Unit

    Definition Classes
    DriverDataSource → CommonDataSource
  51. def setPassword(arg0: String): Unit

  52. def setProperties(arg0: Properties): Unit

  53. def setUrl(arg0: String): Unit

  54. def setUser(arg0: String): Unit

  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  56. def toString(): String

    Definition Classes
    AnyRef → Any
  57. def unwrap[T](iface: Class[T]): T

    Definition Classes
    DriverDataSource → Wrapper
  58. var url: String

  59. var user: String

  60. final def wait(): Unit

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

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

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

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

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

Deprecated Value Members

  1. def x: DriverDataSource

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: DriverDataSource

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Logging

Inherited from Closeable

Inherited from AutoCloseable

Inherited from DataSource

Inherited from Wrapper

Inherited from CommonDataSource

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DriverDataSource to StringAdd

Inherited by implicit conversion any2stringfmt from DriverDataSource to StringFormat

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

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

Ungrouped