Constructors

Link copied to clipboard
constructor(statement: S)

Properties

Link copied to clipboard
open override val isAlwaysBatch: Boolean = true

Whether the SQL statement is meant to be performed as part of a batch execution.

Link copied to clipboard
open override val statement: S

Functions

Link copied to clipboard
open fun execute(transaction: JdbcTransaction): Int?

Executes the SQL statement directly in the provided transaction and returns the generated result, or null if either no result was retrieved or if the transaction blocked statement execution.

Link copied to clipboard

Determines the exact way that an SQL statement is executed in a transaction and applies any necessary logic before returning the result generated by the executed statement.

Link copied to clipboard
open override fun prepared(transaction: JdbcTransaction, sql: String): JdbcPreparedStatementApi

Uses a transaction connection and an sql string representation to return a precompiled SQL statement, stored as an implementation of PreparedStatementApi.