Database

class Database

Class representing the underlying database to which connections are made and on which transaction tasks are performed.

Types

Link copied to clipboard
object Companion

Properties

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

The default number of results that should be fetched when queries are executed.

Link copied to clipboard

The name of the database as a DatabaseDialect.

Link copied to clipboard

The database-specific class responsible for parsing and processing identifier tokens in SQL syntax.

Link copied to clipboard

Returns the name of the database obtained from its connection URL.

Link copied to clipboard

Whether the database supports ALTER TABLE with an add column clause.

Link copied to clipboard

Whether the database supports ALTER TABLE with a drop column clause.

Link copied to clipboard

Whether the database supports getting multiple result sets from a single execute.

Link copied to clipboard

The TransactionManager instance that is associated with this Database.

Link copied to clipboard
val url: String

The connection URL for the database.

Link copied to clipboard
@set:TestOnly
var useNestedTransactions: Boolean

Whether nested transaction blocks are configured to act like top-level transactions.

Link copied to clipboard

The name of the database based on the name of the underlying JDBC driver.

Link copied to clipboard

The version number of the database as a BigDecimal.

Functions

Link copied to clipboard
@TestOnly
fun defaultFetchSize(size: Int): Database
Link copied to clipboard

Whether the version number of the database is equal to or greater than the provided version.

Link copied to clipboard
open override fun toString(): String