JdbcPreparedStatement

open class JdbcPreparedStatement(preparedStatement: PreparedStatement) : SqlPreparedStatement

Binds the parameter to preparedStatement by calling bindString, bindLong or similar. After binding, execute executes the query without a result, while executeQuery returns JdbcCursor.

Constructors

JdbcPreparedStatement
Link copied to clipboard
fun JdbcPreparedStatement(preparedStatement: PreparedStatement)

Functions

bindBytes
Link copied to clipboard
open override fun bindBytes(index: Int, bytes: ByteArray?)
bindDouble
Link copied to clipboard
open override fun bindDouble(index: Int, double: Double?)
bindLong
Link copied to clipboard
open override fun bindLong(index: Int, long: Long?)
bindString
Link copied to clipboard
open override fun bindString(index: Int, string: String?)
execute
Link copied to clipboard
fun execute()
executeQuery
Link copied to clipboard
fun executeQuery(onClose: () -> Unit): JdbcCursor