Driver

interface Driver

Interface of Kotlin DBC driver

Each driver should supply a class that implements the Driver interface.

The DriverManager will try to load as many drivers as it can find and then for any given connection request, it will ask each driver in turn to try to connect to the target URL.

Functions

Link copied to clipboard
abstract fun connect(params: Map<String, Any?>): Connection

Create connection with database

Properties

Link copied to clipboard
abstract val name: String

Name of driver

Link copied to clipboard
abstract val version: IntArray

Semver version of a driver. Format like: 1, 0, 0