DriverDataSource

slick.jdbc.DriverDataSource
class DriverDataSource(var url: String, var user: String, var password: String, var properties: Properties, var driverClassName: String, var deregisterDriver: Boolean, var driverObject: Driver, var classLoader: ClassLoader) extends DataSource, Closeable, 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.

Attributes

Source
DriverDataSource.scala
Graph
Supertypes
trait Logging
trait Closeable
trait AutoCloseable
trait DataSource
trait Wrapper
trait CommonDataSource
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Constructors

def this()

Attributes

Source
DriverDataSource.scala

Concrete methods

def close(): Unit

Attributes

Source
DriverDataSource.scala
def getConnection: Connection

Attributes

Source
DriverDataSource.scala
def getConnection(username: String, password: String): Connection

Attributes

Source
DriverDataSource.scala
def getDriver: String

Attributes

Source
DriverDataSource.scala
def getDriverClassName(): String

Attributes

Source
DriverDataSource.scala
def getLogWriter: PrintWriter

Attributes

Source
DriverDataSource.scala
def getLoginTimeout: Int

Attributes

Source
DriverDataSource.scala
def getParentLogger: Logger

Attributes

Source
DriverDataSource.scala
def getPassword(): String

Attributes

Source
DriverDataSource.scala
def getProperties(): Properties

Attributes

Source
DriverDataSource.scala
def getUrl(): String

Attributes

Source
DriverDataSource.scala
def getUser(): String

Attributes

Source
DriverDataSource.scala
def init(): Unit

Attributes

Source
DriverDataSource.scala
def isDeregisterDriver(): Boolean

Attributes

Source
DriverDataSource.scala
def isWrapperFor(iface: Class[_]): Boolean

Attributes

Source
DriverDataSource.scala
def setDeregisterDriver(deregisterDriver: Boolean): Unit

Attributes

Source
DriverDataSource.scala
def setDriver(s: String): Unit

Attributes

Source
DriverDataSource.scala
def setDriverClassName(driverClassName: String): Unit

Attributes

Source
DriverDataSource.scala
def setLogWriter(out: PrintWriter): Unit

Attributes

Source
DriverDataSource.scala
def setLoginTimeout(seconds: Int): Unit

Attributes

Source
DriverDataSource.scala
def setPassword(password: String): Unit

Attributes

Source
DriverDataSource.scala
def setProperties(properties: Properties): Unit

Attributes

Source
DriverDataSource.scala
def setUrl(url: String): Unit

Attributes

Source
DriverDataSource.scala
def setUser(user: String): Unit

Attributes

Source
DriverDataSource.scala
def unwrap[T](iface: Class[T]): T

Attributes

Source
DriverDataSource.scala

Inherited methods

def createConnectionBuilder(): ConnectionBuilder

Attributes

Inherited from:
DataSource
def createShardingKeyBuilder(): ShardingKeyBuilder

Attributes

Inherited from:
CommonDataSource

Concrete fields

var classLoader: ClassLoader

Attributes

Source
DriverDataSource.scala
var deregisterDriver: Boolean

Attributes

Source
DriverDataSource.scala
var driverClassName: String

Attributes

Source
DriverDataSource.scala
var driverObject: Driver

Attributes

Source
DriverDataSource.scala
var password: String

Attributes

Source
DriverDataSource.scala
var properties: Properties

Attributes

Source
DriverDataSource.scala
var url: String

Attributes

Source
DriverDataSource.scala
var user: String

Attributes

Source
DriverDataSource.scala