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. var classLoader: ClassLoader
    Definition Classes
    DriverDataSource
  2. def close(): Unit
    Definition Classes
    DriverDataSource → Closeable → AutoCloseable
  3. def createConnectionBuilder(): ConnectionBuilder
    Definition Classes
    DataSource
    Annotations
    @throws(classOf[java.sql.SQLException])
  4. def createShardingKeyBuilder(): ShardingKeyBuilder
    Definition Classes
    CommonDataSource
    Annotations
    @throws(classOf[java.sql.SQLException])
  5. var deregisterDriver: Boolean
    Definition Classes
    DriverDataSource
  6. var driverClassName: String
    Definition Classes
    DriverDataSource
  7. var driverObject: Driver
    Definition Classes
    DriverDataSource
  8. def getConnection(username: String, password: String): Connection
    Definition Classes
    DriverDataSource → DataSource
  9. def getConnection(): Connection
    Definition Classes
    DriverDataSource → DataSource
  10. def getDriver: String
    Definition Classes
    DriverDataSource
  11. def getDriverClassName(): String
    Definition Classes
    DriverDataSource
  12. def getLogWriter(): PrintWriter
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  13. def getLoginTimeout(): Int
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  14. def getParentLogger(): Logger
    Definition Classes
    DriverDataSource → CommonDataSource
  15. def getPassword(): String
    Definition Classes
    DriverDataSource
  16. def getProperties(): Properties
    Definition Classes
    DriverDataSource
  17. def getUrl(): String
    Definition Classes
    DriverDataSource
  18. def getUser(): String
    Definition Classes
    DriverDataSource
  19. def init(): Unit
  20. def isDeregisterDriver(): Boolean
    Definition Classes
    DriverDataSource
  21. def isWrapperFor(iface: Class[_]): Boolean
    Definition Classes
    DriverDataSource → Wrapper
  22. var password: String
    Definition Classes
    DriverDataSource
  23. var properties: Properties
    Definition Classes
    DriverDataSource
  24. def setDeregisterDriver(deregisterDriver: Boolean): Unit
    Definition Classes
    DriverDataSource
  25. def setDriver(s: String): Unit
    Definition Classes
    DriverDataSource
  26. def setDriverClassName(driverClassName: String): Unit
    Definition Classes
    DriverDataSource
  27. def setLogWriter(out: PrintWriter): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  28. def setLoginTimeout(seconds: Int): Unit
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  29. def setPassword(password: String): Unit
    Definition Classes
    DriverDataSource
  30. def setProperties(properties: Properties): Unit
    Definition Classes
    DriverDataSource
  31. def setUrl(url: String): Unit
    Definition Classes
    DriverDataSource
  32. def setUser(user: String): Unit
    Definition Classes
    DriverDataSource
  33. def unwrap[T](iface: Class[T]): T
    Definition Classes
    DriverDataSource → Wrapper
  34. var url: String
    Definition Classes
    DriverDataSource
  35. var user: String
    Definition Classes
    DriverDataSource