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
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- DriverDataSource
- Logging
- Closeable
- AutoCloseable
- DataSource
- Wrapper
- CommonDataSource
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DriverDataSource()
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from DriverDataSource to any2stringadd[DriverDataSource] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DriverDataSource, B)
- Implicit
- This member is added by an implicit conversion from DriverDataSource to ArrowAssoc[DriverDataSource] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var classLoader: ClassLoader
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- DriverDataSource → Closeable → AutoCloseable
- var deregisterDriver: Boolean
- var driverClassName: String
- var driverObject: Driver
-
def
ensuring(cond: (DriverDataSource) ⇒ Boolean, msg: ⇒ Any): DriverDataSource
- Implicit
- This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DriverDataSource) ⇒ Boolean): DriverDataSource
- Implicit
- This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DriverDataSource
- Implicit
- This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DriverDataSource
- Implicit
- This member is added by an implicit conversion from DriverDataSource to Ensuring[DriverDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DriverDataSource to StringFormat[DriverDataSource] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnection(username: String, password: String): Connection
- Definition Classes
- DriverDataSource → DataSource
-
def
getConnection(): Connection
- Definition Classes
- DriverDataSource → DataSource
- def getDeregisterDriver(): Boolean
- def getDriver: String
- def getDriverClassName(): String
-
def
getLogWriter(): PrintWriter
- Definition Classes
- DriverDataSource → CommonDataSource
-
def
getLoginTimeout(): Int
- Definition Classes
- DriverDataSource → CommonDataSource
-
def
getParentLogger(): Logger
- Definition Classes
- DriverDataSource → CommonDataSource
- def getPassword(): String
- def getProperties(): Properties
- def getUrl(): String
- def getUser(): String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init: Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isWrapperFor(iface: Class[_]): Boolean
- Definition Classes
- DriverDataSource → Wrapper
-
lazy val
logger: SlickLogger
- Attributes
- protected[this]
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var password: String
- var properties: Properties
- def setDeregisterDriver(arg0: Boolean): Unit
- def setDriver(s: String): Unit
- def setDriverClassName(arg0: String): Unit
-
def
setLogWriter(out: PrintWriter): Unit
- Definition Classes
- DriverDataSource → CommonDataSource
-
def
setLoginTimeout(seconds: Int): Unit
- Definition Classes
- DriverDataSource → CommonDataSource
- def setPassword(arg0: String): Unit
- def setProperties(arg0: Properties): Unit
- def setUrl(arg0: String): Unit
- def setUser(arg0: String): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unwrap[T](iface: Class[T]): T
- Definition Classes
- DriverDataSource → Wrapper
- var url: String
- var user: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
→[B](y: B): (DriverDataSource, B)
- Implicit
- This member is added by an implicit conversion from DriverDataSource to ArrowAssoc[DriverDataSource] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
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...