Sets the designated parameter to the given short value.

public final void setShort(int index,
                           short x)

Parameters

index

An integer that indicates the parameter number.

x

A short value.

Exceptions

SQLServerException

Remarks

This setShort method is specified by the setShort method in the java.sql.PreparedStatement interface.

See Also