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
Known Subclasses
Type Hierarchy
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. Protected

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. var classLoader: ClassLoader
  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
  6. var driverClassName: String
  7. var driverObject: Driver
  8. def getConnection(username: String, password: String): Connection
    Definition Classes
    DriverDataSource → DataSource
  9. def getConnection(): Connection
    Definition Classes
    DriverDataSource → DataSource
  10. def getDeregisterDriver(): Boolean
    Annotations
    @BeanProperty() @volatile()
  11. def getDriver: String
  12. def getDriverClassName(): String
    Annotations
    @BeanProperty() @volatile()
  13. def getLogWriter(): PrintWriter
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  14. def getLoginTimeout(): Int
    Definition Classes
    DriverDataSource → DataSource → CommonDataSource
  15. def getParentLogger(): Logger
    Definition Classes
    DriverDataSource → CommonDataSource
  16. def getPassword(): String
    Annotations
    @BeanProperty() @volatile()
  17. def getProperties(): Properties
    Annotations
    @BeanProperty() @volatile()
  18. def getUrl(): String
    Annotations
    @BeanProperty() @volatile()
  19. def getUser(): String
    Annotations
    @BeanProperty() @volatile()
  20. def init: Unit
  21. def isWrapperFor(iface: Class[_]): Boolean
    Definition Classes
    DriverDataSource → Wrapper
  22. var password: String
  23. var properties: Properties
  24. def setDeregisterDriver(arg0: Boolean): Unit
    Annotations
    @BeanProperty() @volatile()
  25. def setDriver(s: String): Unit
  26. def setDriverClassName(arg0: String): Unit
    Annotations
    @BeanProperty() @volatile()
  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(arg0: String): Unit
    Annotations
    @BeanProperty() @volatile()
  30. def setProperties(arg0: Properties): Unit
    Annotations
    @BeanProperty() @volatile()
  31. def setUrl(arg0: String): Unit
    Annotations
    @BeanProperty() @volatile()
  32. def setUser(arg0: String): Unit
    Annotations
    @BeanProperty() @volatile()
  33. def unwrap[T](iface: Class[T]): T
    Definition Classes
    DriverDataSource → Wrapper
  34. var url: String
  35. var user: String