Package-level declarations

Types

Link copied to clipboard
open class CachedRowSet(rs: ResultSet) : ResultSet

Special implementation of ResultSet, used to hold the query results for Ktorm.

Link copied to clipboard
class Database(val transactionManager: TransactionManager, val dialect: SqlDialect = detectDialectImplementation(), val logger: Logger = detectLoggerImplementation(), val exceptionTranslator: (SQLException) -> Throwable? = null, val alwaysQuoteIdentifiers: Boolean = false, val generateSqlInUpperCase: Boolean? = null)

The entry class of Ktorm, represents a physical database, used to manage connections and transactions.

Link copied to clipboard

Thrown to indicate that a feature is not supported by the current dialect.

Link copied to clipboard

TransactionManager implementation based on JDBC.

Link copied to clipboard

TransactionManager implementation that delegates all transactions to the Spring framework.

Link copied to clipboard
interface SqlDialect

Representation of a SQL dialect.

Link copied to clipboard

Representation of a transaction.

Link copied to clipboard

Enum class represents transaction isolation levels, wrapping the TRANSACTION_XXX constants defined in the Connection interface.

Link copied to clipboard

Transaction manager abstraction used to manage database connections and transactions.

Functions

Link copied to clipboard

Wrap this ResultSet as Iterable.

Link copied to clipboard

Auto detect a dialect implementation.

Link copied to clipboard
operator fun <T : ResultSet> T.iterator(): Iterator<T>

Return an iterator over the rows of this ResultSet.

Link copied to clipboard

Set the arguments for this PreparedStatement.

Link copied to clipboard
inline fun <T : AutoCloseable?, R> T.use(block: (T) -> R): R

Execute the given block function on this resource and then close it down correctly whether an exception is thrown or not.