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

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

See also:
java.sql.PreparedStatement::setFloat(int, float)

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

Definition at line 1892 of file ServerPreparedStatement.java.

References checkClosed(), and getBinding().


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

            binding.value = null;
            binding.floatBinding = x;
            binding.isNull = false;
            binding.isLongData = false;

Generated by  Doxygen 1.6.0   Back to index