Package-level declarations

Types

Link copied to clipboard
data class ColumnMetadata(val name: String, val type: Int, val nullable: Boolean, val size: Int?, val scale: Int?, val autoIncrement: Boolean, val defaultDbValue: String?)

Represents metadata information about a specific column.

Link copied to clipboard
interface DatabaseDialect

Common interface for all database dialects.

Link copied to clipboard
abstract class DataTypeProvider

Provides definitions for all the supported SQL data types. By default, definitions from the SQL standard are provided but if a vendor doesn't support a specific type, or it is implemented differently, the corresponding function should be overridden.

Link copied to clipboard
sealed class ForUpdateOption

Clauses that perform a locking read at row-level for SELECT statements.

Link copied to clipboard
abstract class FunctionProvider

Provides definitions for all the supported SQL functions. By default, definitions from the SQL standard are provided but if a vendor doesn't support a specific function, or it is implemented differently, the corresponding function should be overridden.

Link copied to clipboard

H2 dialect implementation.

Link copied to clipboard

MariaDB dialect implementation.

Link copied to clipboard

MySQL dialect implementation.

Link copied to clipboard

Oracle dialect implementation.

Link copied to clipboard
open class PostgreSQLDialect(val name: String = dialectName) : VendorDialect

PostgreSQL dialect implementation.

Link copied to clipboard

PostgreSQL dialect implementation using the pgjdbc-ng jdbc driver.

Link copied to clipboard
data class PrimaryKeyMetadata(val name: String, val columnNames: List<String>)

Represents metadata information about a specific table's primary key.

Link copied to clipboard
data class SchemaMetadata(val schemaName: String, val tableNames: List<String>)

Represents metadata information about the current schema and its associated tables.

Link copied to clipboard

SQLite dialect implementation.

Link copied to clipboard

SQLServer dialect implementation.

Link copied to clipboard
abstract class VendorDialect(val name: String, val dataTypeProvider: DataTypeProvider, val functionProvider: FunctionProvider) : DatabaseDialect

Base implementation of a vendor dialect

Properties

Link copied to clipboard

Returns a set with all the keywords that are part of the SQL:2003 standard.

Link copied to clipboard

Returns the dialect used in the current transaction, may throw an exception if there is no current transaction.

Link copied to clipboard

The current H2 database compatibility mode or null if the current database is not H2.

Link copied to clipboard

Returns a map of vendor specific keywords.