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.
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DatabaseUrlDataSource
- DriverDataSource
- Logging
- Closeable
- AutoCloseable
- DataSource
- Wrapper
- CommonDataSource
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DatabaseUrlDataSource()
Value Members
- var classLoader: ClassLoader
- Definition Classes
- DriverDataSource
- def close(): Unit
- Definition Classes
- DriverDataSource → Closeable → AutoCloseable
- def createConnectionBuilder(): ConnectionBuilder
- Definition Classes
- DataSource
- Annotations
- @throws(classOf[java.sql.SQLException])
- def createShardingKeyBuilder(): ShardingKeyBuilder
- Definition Classes
- CommonDataSource
- Annotations
- @throws(classOf[java.sql.SQLException])
- var deregisterDriver: Boolean
- Definition Classes
- DriverDataSource
- var driverClassName: String
- Definition Classes
- DriverDataSource
- var driverObject: Driver
- Definition Classes
- DriverDataSource
- def getConnection(username: String, password: String): Connection
- Definition Classes
- DriverDataSource → DataSource
- def getConnection(): Connection
- Definition Classes
- DriverDataSource → DataSource
- def getDriver: String
- Definition Classes
- DriverDataSource
- def getDriverClassName(): String
- Definition Classes
- DriverDataSource
- def getLogWriter(): PrintWriter
- Definition Classes
- DriverDataSource → DataSource → CommonDataSource
- def getLoginTimeout(): Int
- Definition Classes
- DriverDataSource → DataSource → CommonDataSource
- def getParentLogger(): Logger
- Definition Classes
- DriverDataSource → CommonDataSource
- def getPassword(): String
- Definition Classes
- DriverDataSource
- def getProperties(): Properties
- Definition Classes
- DriverDataSource
- def getUrl(): String
- Definition Classes
- DriverDataSource
- def getUser(): String
- Definition Classes
- DriverDataSource
- def init(): Unit
- Definition Classes
- DatabaseUrlDataSource → DriverDataSource
- def isDeregisterDriver(): Boolean
- Definition Classes
- DriverDataSource
- def isWrapperFor(iface: Class[_]): Boolean
- Definition Classes
- DriverDataSource → Wrapper
- var password: String
- Definition Classes
- DriverDataSource
- var properties: Properties
- Definition Classes
- DriverDataSource
- def setDeregisterDriver(deregisterDriver: Boolean): Unit
- Definition Classes
- DriverDataSource
- def setDriver(s: String): Unit
- Definition Classes
- DriverDataSource
- def setDriverClassName(driverClassName: String): Unit
- Definition Classes
- DriverDataSource
- def setLogWriter(out: PrintWriter): Unit
- Definition Classes
- DriverDataSource → DataSource → CommonDataSource
- def setLoginTimeout(seconds: Int): Unit
- Definition Classes
- DriverDataSource → DataSource → CommonDataSource
- def setPassword(password: String): Unit
- Definition Classes
- DriverDataSource
- def setProperties(properties: Properties): Unit
- Definition Classes
- DriverDataSource
- def setUrl(url: String): Unit
- Definition Classes
- DriverDataSource
- def setUser(user: String): Unit
- Definition Classes
- DriverDataSource
- def unwrap[T](iface: Class[T]): T
- Definition Classes
- DriverDataSource → Wrapper
- var url: String
- Definition Classes
- DriverDataSource
- var user: String
- Definition Classes
- DriverDataSource
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...