Database.executePreparedStmtByParamList()

Signature

int executePreparedStmtByParamList(String preparedStmt, List parameterList)

Domain

ACTION, CONDITION, BUI

Description

Executes a PreparedStatement. A prepared statement is a SQL statement where values are determined at runtime.
The values to be used are passed as a List of parameters.

Parameters

NameTypeDescription
preparedStmtStringThe SQL prepared statement to execute
parameterListListPositional values to be used for binding to the prepared statement. An ArrayList that has been populated using preparedstatement utility methods only (addIntPreparedStmtParam, addStringPreparedStmtParam etc).

Returns

TypeDescription
intTotal number of records affected by the prepared statement

Cautions

none