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
- All
Instance Constructors
- new DatabaseUrlDataSource()
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 DatabaseUrlDataSource to any2stringadd[DatabaseUrlDataSource] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DatabaseUrlDataSource, B)
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to ArrowAssoc[DatabaseUrlDataSource] 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
- Definition Classes
- DriverDataSource
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
ensuring(cond: (DatabaseUrlDataSource) ⇒ Boolean, msg: ⇒ Any): DatabaseUrlDataSource
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DatabaseUrlDataSource) ⇒ Boolean): DatabaseUrlDataSource
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DatabaseUrlDataSource
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DatabaseUrlDataSource
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to Ensuring[DatabaseUrlDataSource] 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
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to StringFormat[DatabaseUrlDataSource] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getConnection(username: String, password: String): Connection
- Definition Classes
- DriverDataSource → DataSource
-
def
getConnection(): Connection
- Definition Classes
- DriverDataSource → DataSource
-
def
getDeregisterDriver(): Boolean
- Definition Classes
- DriverDataSource
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
init: Unit
- Definition Classes
- DatabaseUrlDataSource → DriverDataSource
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
var
password: String
- Definition Classes
- DriverDataSource
-
var
properties: Properties
- Definition Classes
- DriverDataSource
-
def
setDeregisterDriver(arg0: Boolean): Unit
- Definition Classes
- DriverDataSource
-
def
setDriver(s: String): Unit
- Definition Classes
- DriverDataSource
-
def
setDriverClassName(arg0: 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(arg0: String): Unit
- Definition Classes
- DriverDataSource
-
def
setProperties(arg0: Properties): Unit
- Definition Classes
- DriverDataSource
-
def
setUrl(arg0: String): Unit
- Definition Classes
- DriverDataSource
-
def
setUser(arg0: String): Unit
- Definition Classes
- DriverDataSource
-
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
- Definition Classes
- DriverDataSource
-
var
user: String
- Definition Classes
- DriverDataSource
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (DatabaseUrlDataSource, B)
- Implicit
- This member is added by an implicit conversion from DatabaseUrlDataSource to ArrowAssoc[DatabaseUrlDataSource] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated

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...