public abstract short getShort (String parameterName) throws SQLException

Retrieves the value of a JDBC SMALLINT parameter as a short in the Java programming language.

Parameters:
parameterName    the name of the parameter

Returns:  the parameter value. If the value is SQL NULL, the result is 0.

Exceptions:
SQLException    if parameterName does not correspond to a named parameter; if a database access error occurs or this method is called on a closed CallableStatement
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

See also:
setShort

Since:  1.4