Logo Search packages:      
Sourcecode: mysql-connector-java version File versions  Download package

void com::mysql::jdbc::ServerPreparedStatement::setShort ( int  parameterIndex,
short  x 
) throws SQLException [inline]

See also:
java.sql.PreparedStatement::setShort(int, short)

Reimplemented from com::mysql::jdbc::PreparedStatement.

Definition at line 1987 of file ServerPreparedStatement.java.

References checkClosed(), and getBinding().

                                                                            {
            checkClosed();

            BindValue binding = getBinding(parameterIndex, false);
            setType(binding, MysqlDefs.FIELD_TYPE_SHORT);

            binding.value = null;
            binding.shortBinding = x;
            binding.isNull = false;
            binding.isLongData = false;
      }


Generated by  Doxygen 1.6.0   Back to index