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

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

See also:
java.sql.PreparedStatement::setInt(int, int)

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

Definition at line 1907 of file ServerPreparedStatement.java.

References checkClosed(), and getBinding().

                                                                        {
            checkClosed();

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

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


Generated by  Doxygen 1.6.0   Back to index