Class/Object

slick.jdbc

DriverJdbcDataSource

Related Docs: object DriverJdbcDataSource | package jdbc

Permalink

class DriverJdbcDataSource extends DriverBasedJdbcDataSource

A JdbcDataSource for lookup via a Driver or the DriverManager

Annotations
@deprecated
Deprecated

(Since version 3.1) Use DataSourceJdbcDataSource with DriverDataSource instead

Source
JdbcDataSource.scala
Linear Supertypes
DriverBasedJdbcDataSource, JdbcDataSource, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DriverJdbcDataSource
  2. DriverBasedJdbcDataSource
  3. JdbcDataSource
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. 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 DriverJdbcDataSource(url: String, user: String, password: String, prop: Properties, driverName: String = null, driver: Driver = null, connectionPreparer: ConnectionPreparer = null, keepAliveConnection: Boolean = false)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DriverJdbcDataSource to any2stringadd[DriverJdbcDataSource] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DriverJdbcDataSource, B)

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

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Permalink

    If this object represents a connection pool managed directly by Slick, close it.

    If this object represents a connection pool managed directly by Slick, close it. Otherwise no action is taken.

    Definition Classes
    DriverJdbcDataSourceJdbcDataSource → Closeable → AutoCloseable
  9. val connectionProps: Properties

    Permalink
  10. def createConnection(): Connection

    Permalink

    Create a new Connection or get one from the pool

    Create a new Connection or get one from the pool

    Definition Classes
    DriverJdbcDataSourceJdbcDataSource
  11. def deregisterDriver(): Boolean

    Permalink

    Deregister the JDBC driver if it was registered by this JdbcDataSource.

    Deregister the JDBC driver if it was registered by this JdbcDataSource. Returns true if an attempt was made to deregister a driver.

    Definition Classes
    DriverBasedJdbcDataSource
  12. def ensuring(cond: (DriverJdbcDataSource) ⇒ Boolean, msg: ⇒ Any): DriverJdbcDataSource

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def internalCreateConnection(): Connection

    Permalink
    Attributes
    protected[this]
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. val maxConnections: Option[Int]

    Permalink

    If this object represents a connection pool with a limited size, return the maximum pool size.

    If this object represents a connection pool with a limited size, return the maximum pool size. Otherwise return None. This is required to prevent deadlocks when scheduling database actions.

    Definition Classes
    DriverBasedJdbcDataSourceJdbcDataSource
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def registerDriver(driverName: String, url: String): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    DriverBasedJdbcDataSource
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (DriverJdbcDataSource, B)

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

Inherited from DriverBasedJdbcDataSource

Inherited from JdbcDataSource

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped