DatabaseDriver

Enumeration of common database drivers.

Author

Phillip Webb

Maciej Walkowiak

Marten Deinum

Stephane Nicoll

Since

1.4.0

Entries

Link copied to clipboard

Unknown type.

Link copied to clipboard

Apache Derby.

Link copied to clipboard

H2.

Link copied to clipboard

HyperSQL DataBase.

Link copied to clipboard

SQLite.

Link copied to clipboard

MySQL.

Link copied to clipboard

Maria DB.

Link copied to clipboard

Oracle.

Link copied to clipboard

Postgres.

Link copied to clipboard

Amazon Redshift.

Link copied to clipboard

HANA - SAP HANA Database - HDB.

Link copied to clipboard

jTDS. As it can be used for several databases, there isn't a single product name we could rely on.

Link copied to clipboard

SQL Server.

Link copied to clipboard

Firebird.

Link copied to clipboard

DB2 Server.

Link copied to clipboard

DB2 AS400 Server.

Link copied to clipboard

Teradata.

Link copied to clipboard

Informix.

Link copied to clipboard

Apache Phoenix.

Link copied to clipboard

Testcontainers.

Link copied to clipboard

ClickHouse.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Find a DatabaseDriver for the given URL.
Link copied to clipboard
open fun fromProductName(productName: String): DatabaseDriver
Find a DatabaseDriver for the given product name.
Link copied to clipboard
open fun getId(): String
Return the identifier of this driver.
Link copied to clipboard
open fun valueOf(name: String): DatabaseDriver

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.