execute

fun execute(vararg params: Any?): Boolean(source)

Executes the SQL statement in this PreparedStatement object with the supplied parameters.

The parameters are set in the order they are passed in, supported types are implementation-specific, see PreparedStatement.setObject and its implementation by your JDBC driver.

See also


open override fun execute(sql: String?): Boolean(source)
open override fun execute(sql: String?, columnNames: Array<out String>?): Boolean(source)
open override fun execute(sql: String?, autoGeneratedKeys: Int): Boolean(source)
open override fun execute(sql: String?, columnIndexes: IntArray?): Boolean(source)

Deprecated (with error)

This is never usable as this is a prepared statement