Driver

jdbc.connector.Connector.Driver
class Driver[F[_]](using ev: Async[F])

Attributes

Source
Connector.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(driver: String, url: String, logHandler: Option[LogHandler[F]]): Connector[F]

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "com.mysql.cj.jdbc.MySQLDriver"

url

a connection URL, specific to your driver

Attributes

Source
Connector.scala
def apply(driver: String, url: String, user: String, password: String, logHandler: Option[LogHandler[F]]): Connector[F]

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "com.mysql.cj.jdbc.MySQLDriver"

password

database password

url

a connection URL, specific to your driver

user

database username

Attributes

Source
Connector.scala
def apply(driver: String, url: String, info: Properties, logHandler: Option[LogHandler[F]]): Connector[F]

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Construct a new Connector that uses the JDBC DriverManager to allocate connections.

Value parameters

driver

the class name of the JDBC driver, like "com.mysql.cj.jdbc.MySQLDriver"

info

a Properties containing connection information (see DriverManager.getConnection)

url

a connection URL, specific to your driver

Attributes

Source
Connector.scala