Packages

c

slick.jdbc

DatabaseUrlDataSource

class DatabaseUrlDataSource extends DriverDataSource

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. This implementation is design specifically to handle a non-JDBC Database URL in the format defined by the libpq standard.

Source
DatabaseUrlDataSource.scala
Linear Supertypes
DriverDataSource, Logging, Closeable, AutoCloseable, DataSource, Wrapper, CommonDataSource, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatabaseUrlDataSource
  2. DriverDataSource
  3. Logging
  4. Closeable
  5. AutoCloseable
  6. DataSource
  7. Wrapper
  8. CommonDataSource
  9. AnyRef
  10. 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 DatabaseUrlDataSource()

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 DatabaseUrlDataSource to any2stringadd[DatabaseUrlDataSource] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DatabaseUrlDataSource, B)
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to ArrowAssoc[DatabaseUrlDataSource] 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
    Definition Classes
    DriverDataSource
  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
    Definition Classes
    DriverDataSource
  13. var driverClassName: String
    Definition Classes
    DriverDataSource
  14. var driverObject: Driver
    Definition Classes
    DriverDataSource
  15. def ensuring(cond: (DatabaseUrlDataSource) ⇒ Boolean, msg: ⇒ Any): DatabaseUrlDataSource
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (DatabaseUrlDataSource) ⇒ Boolean): DatabaseUrlDataSource
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): DatabaseUrlDataSource
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): DatabaseUrlDataSource
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] 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 DatabaseUrlDataSource to StringFormat[DatabaseUrlDataSource] 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
    Definition Classes
    DriverDataSource
  26. def getDriver: String
    Definition Classes
    DriverDataSource
  27. def getDriverClassName(): String
    Definition Classes
    DriverDataSource
  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
    Definition Classes
    DriverDataSource
  32. def getProperties(): Properties
    Definition Classes
    DriverDataSource
  33. def getUrl(): String
    Definition Classes
    DriverDataSource
  34. def getUser(): String
    Definition Classes
    DriverDataSource
  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
    Definition Classes
    DriverDataSource
  44. var properties: Properties
    Definition Classes
    DriverDataSource
  45. def setDeregisterDriver(arg0: Boolean): Unit
    Definition Classes
    DriverDataSource
  46. def setDriver(s: String): Unit
    Definition Classes
    DriverDataSource
  47. def setDriverClassName(arg0: String): Unit
    Definition Classes
    DriverDataSource
  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
    Definition Classes
    DriverDataSource
  51. def setProperties(arg0: Properties): Unit
    Definition Classes
    DriverDataSource
  52. def setUrl(arg0: String): Unit
    Definition Classes
    DriverDataSource
  53. def setUser(arg0: String): Unit
    Definition Classes
    DriverDataSource
  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
    Definition Classes
    DriverDataSource
  58. var user: String
    Definition Classes
    DriverDataSource
  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): (DatabaseUrlDataSource, B)
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource to ArrowAssoc[DatabaseUrlDataSource] 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 DriverDataSource

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 DatabaseUrlDataSource to any2stringadd[DatabaseUrlDataSource]

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

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

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

Ungrouped