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
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. Protected

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 toany2stringadd[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 toArrowAssoc[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(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  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 toEnsuring[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 toEnsuring[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 toEnsuring[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 toEnsuring[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: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def getConnection(username: String, password: String): Connection
    Definition Classes
    DriverDataSource → DataSource
  23. def getConnection(): Connection
    Definition Classes
    DriverDataSource → DataSource
  24. def getDriver: String
    Definition Classes
    DriverDataSource
  25. def getDriverClassName(): String
    Definition Classes
    DriverDataSource
  26. def getLogWriter(): PrintWriter
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  27. def getLoginTimeout(): Int
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  28. def getParentLogger(): Logger
    Definition Classes
    DriverDataSource → CommonDataSource
  29. def getPassword(): String
    Definition Classes
    DriverDataSource
  30. def getProperties(): Properties
    Definition Classes
    DriverDataSource
  31. def getUrl(): String
    Definition Classes
    DriverDataSource
  32. def getUser(): String
    Definition Classes
    DriverDataSource
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  34. def init(): Unit
  35. def isDeregisterDriver(): Boolean
    Definition Classes
    DriverDataSource
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isWrapperFor(iface: Class[_]): Boolean
    Definition Classes
    DriverDataSource → Wrapper
  38. lazy val logger: SlickLogger
    Attributes
    protected[this]
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  42. var password: String
    Definition Classes
    DriverDataSource
  43. var properties: Properties
    Definition Classes
    DriverDataSource
  44. def setDeregisterDriver(deregisterDriver: Boolean): Unit
    Definition Classes
    DriverDataSource
  45. def setDriver(s: String): Unit
    Definition Classes
    DriverDataSource
  46. def setDriverClassName(driverClassName: String): Unit
    Definition Classes
    DriverDataSource
  47. def setLogWriter(out: PrintWriter): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  48. def setLoginTimeout(seconds: Int): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  49. def setPassword(password: String): Unit
    Definition Classes
    DriverDataSource
  50. def setProperties(properties: Properties): Unit
    Definition Classes
    DriverDataSource
  51. def setUrl(url: String): Unit
    Definition Classes
    DriverDataSource
  52. def setUser(user: String): Unit
    Definition Classes
    DriverDataSource
  53. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  54. def toString(): String
    Definition Classes
    AnyRef → Any
  55. def unwrap[T](iface: Class[T]): T
    Definition Classes
    DriverDataSource → Wrapper
  56. var url: String
    Definition Classes
    DriverDataSource
  57. var user: String
    Definition Classes
    DriverDataSource
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource toStringFormat[DatabaseUrlDataSource] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (DatabaseUrlDataSource, B)
    Implicit
    This member is added by an implicit conversion from DatabaseUrlDataSource toArrowAssoc[DatabaseUrlDataSource] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

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

Inherited by implicit conversion StringFormat fromDatabaseUrlDataSource to StringFormat[DatabaseUrlDataSource]

Inherited by implicit conversion Ensuring fromDatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource]

Inherited by implicit conversion ArrowAssoc fromDatabaseUrlDataSource to ArrowAssoc[DatabaseUrlDataSource]

Ungrouped