BlockingTransaction

@NullMarked
class BlockingTransaction : Record(source)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun preparedStatement(@Language(value = "PostgreSQL") sql: String): BlockingPreparedStatement
open fun preparedStatement(@Language(value = "PostgreSQL") sql: String, columnIndexes: Array<Int>): BlockingPreparedStatement
open fun preparedStatement(@Language(value = "PostgreSQL") sql: String, columnNames: Array<String>): BlockingPreparedStatement
Creates a statement from the given SQL statement.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL") sql: String, statementFunction: StatementFunction<R, E>): R
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL") sql: String, columnIndexes: Array<Int>, statementFunction: StatementFunction<R, E>): R
open fun <R, E : Exception?> withStatement(@Language(value = "PostgreSQL") sql: String, columnNames: Array<String>, statementFunction: StatementFunction<R, E>): R
Creates a statement from the given SQL statement, runs the function and closes the statement.