Package org.ktorm.database
Entry of Ktorm framework, providing basic features of connection and transaction management.
Types
Name | Summary |
---|---|
open class CachedRowSet : ResultSet Special implementation of ResultSet, used to hold the query results for Ktorm. | |
class Database The entry class of Ktorm, represents a physical database, used to manage connections and transactions. | |
class JdbcTransactionManager : TransactionManager TransactionManager implementation based on JDBC. | |
class SpringManagedTransactionManager : TransactionManager TransactionManager implementation that delegates all transactions to the Spring framework. | |
interface SqlDialect Representation of a SQL dialect. | |
interface Transaction : Closeable Representation of a transaction. | |
enum class TransactionIsolation Enum class represents transaction isolation levels, wrapping the | |
interface TransactionManager Transaction manager abstraction used to manage database connections and transactions. |
Exceptions
Name | Summary |
---|---|
class DialectFeatureNotSupportedException : Thrown to indicate that a feature is not supported by the current dialect. |
Extensions for External Classes
Name | Summary |
---|---|
Functions
Name | Summary |
---|---|
fun detectDialectImplementation(): SqlDialect Auto detect a dialect implementation. | |
Return an iterator over the rows of this ResultSet. | |
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 |