Lines Matching refs:parameterIndex

264 void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) t…  in setString()  argument
267 setParameter(parameterIndex,DataType::CHAR,aString.getLength(),(void*)&x); in setString()
300 void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(SQLExcep… in setBoolean() argument
314 setInt (parameterIndex, value); in setBoolean()
317 void OPreparedStatement::setParameter(sal_Int32 parameterIndex,sal_Int32 _nType,sal_Int32 _nSize,vo… in setParameter() argument
328 checkParameterIndex(parameterIndex); in setParameter()
347 sal_Int8* bindBuf = allocBindBuf(parameterIndex, nRealSize); in setParameter()
352 parameterIndex, in setParameter()
354 getLengthBuf(parameterIndex), in setParameter()
363 void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(SQLExceptio… in setByte() argument
365 setParameter(parameterIndex,DataType::TINYINT,sizeof(sal_Int8),&x); in setByte()
369 void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& aData ) throw(SQLE… in setDate() argument
372 setParameter(parameterIndex,DataType::DATE,sizeof(DATE_STRUCT),&x); in setDate()
377 void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const Time& aVal ) throw(SQLEx… in setTime() argument
380 setParameter(parameterIndex,DataType::TIME,sizeof(TIME_STRUCT),&x); in setTime()
384 void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& aVal ) th… in setTimestamp() argument
387 setParameter(parameterIndex,DataType::TIMESTAMP,sizeof(TIMESTAMP_STRUCT),&x); in setTimestamp()
391 void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x ) throw(SQLExceptio… in setDouble() argument
393 setParameter(parameterIndex,DataType::DOUBLE,sizeof(double),&x); in setDouble()
398 void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException,… in setFloat() argument
400 setParameter(parameterIndex,DataType::FLOAT,sizeof(float),&x); in setFloat()
404 void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQLExceptio… in setInt() argument
406 setParameter(parameterIndex,DataType::INTEGER,sizeof(sal_Int32),&x); in setInt()
410 void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 x ) throw(SQLExcepti… in setLong() argument
414 setParameter(parameterIndex,DataType::BIGINT,sizeof(sal_Int64),&x); in setLong()
418 setString(parameterIndex,ORowSetValue(x)); in setLong()
423 void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(SQLE… in setNull() argument
431 checkParameterIndex(parameterIndex); in setNull()
433 sal_Int8* lenBuf = getLengthBuf (parameterIndex); in setNull()
456 (SQLUSMALLINT)parameterIndex, in setNull()
470 void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Reference< XClob >& x ) … in setClob() argument
473 setStream(parameterIndex, x->getCharacterStream(), (SQLLEN)x->length(), DataType::LONGVARCHAR); in setClob()
477 void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const Reference< XBlob >& x ) … in setBlob() argument
480 setStream(parameterIndex, x->getBinaryStream(), (SQLLEN)x->length(), DataType::LONGVARCHAR); in setBlob()
495 void OPreparedStatement::setDecimal( sal_Int32 parameterIndex, const ::rtl::OUString& x ) in setDecimal() argument
498 setParameter(parameterIndex,DataType::DECIMAL,aString.getLength(),(void*)&x); in setDecimal()
501 void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_In… in setObjectWithInfo() argument
519 setParameter(parameterIndex,sqlType,aString.getLength(),&aString); in setObjectWithInfo()
522 setNull(parameterIndex,sqlType); in setObjectWithInfo()
528 setDecimal(parameterIndex,aValue); in setObjectWithInfo()
535 setString(parameterIndex,aValue); in setObjectWithInfo()
539 ::dbtools::setObjectWithInfo(this,parameterIndex,x,sqlType,scale); in setObjectWithInfo()
544 void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const… in setObjectNull() argument
549 setNull(parameterIndex,sqlType); in setObjectNull()
553 void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x ) throw(SQLExce… in setObject() argument
555 if (!::dbtools::implSetObject(this, parameterIndex, x)) in setObject()
562 void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLExcept… in setShort() argument
564 setParameter(parameterIndex,DataType::SMALLINT,sizeof(sal_Int16),&x); in setShort()
568 void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x… in setBytes() argument
570 setParameter(parameterIndex,DataType::BINARY,x.getLength(),(void*)&x); in setBytes()
571 boundParams[parameterIndex-1].setSequence(x); // this assures that the sequence stays alive in setBytes()
576 void SAL_CALL OPreparedStatement::setCharacterStream( sal_Int32 parameterIndex, const Reference< ::… in setCharacterStream() argument
578 setStream(parameterIndex, x, length, DataType::LONGVARCHAR); in setCharacterStream()
582 void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, const Reference< ::com… in setBinaryStream() argument
584 setStream(parameterIndex, x, length, DataType::LONGVARBINARY); in setBinaryStream()