JdbcPreparedStatementApi

Base class representing a precompiled SQL java.sql.PreparedStatement from the JDBC SPI.

Inheritors

Properties

Link copied to clipboard
abstract var fetchSize: Int?

The number of result set rows that should be fetched when generated by an executed statement.

Link copied to clipboard
abstract val resultSet: JdbcResult?

The ResultSet object generated by the executed statement, or null if none was retrieved.

Link copied to clipboard
abstract var timeout: Int?

The number of seconds the JDBC driver will wait for a statement to execute.

Functions

Link copied to clipboard
abstract fun addBatch()

Adds parameters to the statement's batch of SQL commands.

Link copied to clipboard
abstract fun cancel()

Cancels the statement, if supported by the database.

Link copied to clipboard
abstract fun closeIfPossible()

Closes the statement, if still open, and releases any of its database and/or driver resources.

Link copied to clipboard
abstract fun executeBatch(): List<Int>

Executes batched SQL statements stored as a PreparedStatement.

Link copied to clipboard

Executes multiple SQL statements stored in a single PreparedStatement.

Link copied to clipboard
abstract fun executeQuery(): JdbcResult

Executes an SQL query stored in a PreparedStatement.

Link copied to clipboard
abstract fun executeUpdate(): Int

Executes an SQL statement stored in a PreparedStatement.

Link copied to clipboard
open fun fillParameters(args: Iterable<Pair<IColumnType<*>, Any?>>): Int
Link copied to clipboard
abstract operator fun set(index: Int, value: Any)
Link copied to clipboard
abstract fun setArray(index: Int, type: ArrayColumnType<*, *>, array: Array<*>)
Link copied to clipboard
abstract fun setInputStream(index: Int, inputStream: InputStream, setAsBlobObject: Boolean)
Link copied to clipboard
abstract fun setNull(index: Int, columnType: IColumnType<*>)