Packages

c

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
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 StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
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 = ClassLoaderUtil.defaultClassLoader)

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
    This member is added by an implicit conversion from DriverDataSource to any2stringadd[DriverDataSource] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DriverDataSource, B)
    Implicit
    This member is added by an implicit conversion from DriverDataSource to ArrowAssoc[DriverDataSource] 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. var classLoader: ClassLoader
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def close(): Unit
    Definition Classes
    DriverDataSource → Closeable → AutoCloseable
  10. def createConnectionBuilder(): ConnectionBuilder
    Definition Classes
    DataSource
    Annotations
    @throws( classOf[java.sql.SQLException] )
  11. def createShardingKeyBuilder(): ShardingKeyBuilder
    Definition Classes
    CommonDataSource
    Annotations
    @throws( classOf[java.sql.SQLException] )
  12. var deregisterDriver: Boolean
  13. var driverClassName: String
  14. var driverObject: Driver
  15. def ensuring(cond: (DriverDataSource) ⇒ Boolean, msg: ⇒ Any): DriverDataSource
    Implicit
    This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (DriverDataSource) ⇒ Boolean): DriverDataSource
    Implicit
    This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): DriverDataSource
    Implicit
    This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): DriverDataSource
    Implicit
    This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring 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 formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DriverDataSource to StringFormat[DriverDataSource] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def getConnection(username: String, password: String): Connection
    Definition Classes
    DriverDataSource → DataSource
  24. def getConnection(): Connection
    Definition Classes
    DriverDataSource → DataSource
  25. def getDeregisterDriver(): Boolean
  26. def getDriver: String
  27. def getDriverClassName(): String
  28. def getLogWriter(): PrintWriter
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  29. def getLoginTimeout(): Int
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  30. def getParentLogger(): Logger
    Definition Classes
    DriverDataSource → CommonDataSource
  31. def getPassword(): String
  32. def getProperties(): Properties
  33. def getUrl(): String
  34. def getUser(): String
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. def init: Unit
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isWrapperFor(iface: Class[_]): Boolean
    Definition Classes
    DriverDataSource → Wrapper
  39. lazy val logger: SlickLogger
    Attributes
    protected[this]
    Definition Classes
    Logging
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. var password: String
  44. var properties: Properties
  45. def setDeregisterDriver(arg0: Boolean): Unit
  46. def setDriver(s: String): Unit
  47. def setDriverClassName(arg0: String): Unit
  48. def setLogWriter(out: PrintWriter): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  49. def setLoginTimeout(seconds: Int): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  50. def setPassword(arg0: String): Unit
  51. def setProperties(arg0: Properties): Unit
  52. def setUrl(arg0: String): Unit
  53. def setUser(arg0: String): Unit
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def unwrap[T](iface: Class[T]): T
    Definition Classes
    DriverDataSource → Wrapper
  57. var url: String
  58. var user: String
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def [B](y: B): (DriverDataSource, B)
    Implicit
    This member is added by an implicit conversion from DriverDataSource to ArrowAssoc[DriverDataSource] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

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

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

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

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

Ungrouped