Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription

resultIdentifier

The Result Identifier that is returned from the executeUpdate function

int spIndex

Index of the requested parameter from the stored procedure (type int). The first parameter has index 1.

Returns

The value of the out parameter

Note
titleNote!

The return value must be type casted.


...

This function returns the number of rows that was were affected by the the executeUpdate function.

Code Block
int CallableStatement.getUpdateCount(any resultIdentifier);

...

ParameterDescription

resultIdentifier

The Result Identifier that is returned from the executeUpdate function

Returns

For Oracle databases this will return the following statement: 

The number of rows in the database that was were affected by the call. If an update exists -1 will be returned.

For MySQL and PostgreSQL databases this will return the following statement: 

The number of rows in the database that were affected by the update. 


getError
Anchor
getError
getError

...