← Back to Stormify Documentation

CallableStatement

A statement for calling stored procedures, with support for OUT and INOUT parameters.

Functions

Link copied to clipboard
abstract fun execute(): Boolean

Executes the stored procedure. Returns true if the first result is a result set.

Link copied to clipboard
abstract fun getObject(parameterIndex: Int, type: KClass<*>): Any?

Retrieves the value of an OUT parameter at the given 1-based parameterIndex, cast to type.

Link copied to clipboard
abstract fun registerOutParameter(parameterIndex: Int, type: KClass<*>)

Registers an OUT parameter at the given 1-based parameterIndex with the expected type.