Lines Matching refs:parameterIndex
212 void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const DataTypeEnum& _eType, in setParameter() argument
221 if(nCount < (parameterIndex-1)) in setParameter()
224 sDefaultName += ::rtl::OUString::valueOf(parameterIndex); in setParameter()
231 m_pParameters->get_Item(OLEVariant(sal_Int32(parameterIndex-1)),&pParam); in setParameter()
244 m_pParameters->get_Item(OLEVariant(sal_Int32(parameterIndex-1)),&pParam); in setParameter()
272 void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) t… in setString() argument
274 setParameter( parameterIndex, adLongVarWChar, ::std::numeric_limits< sal_Int32 >::max(), x ); in setString()
326 void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(SQLExcep… in setBoolean() argument
328 setParameter(parameterIndex,adBoolean,sizeof(x),x); in setBoolean()
332 void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(SQLExceptio… in setByte() argument
334 setParameter(parameterIndex,adTinyInt,sizeof(x),x); in setByte()
338 void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& x ) throw(SQLExcep… in setDate() argument
340 setParameter(parameterIndex,adDBDate,sizeof(x),x); in setDate()
345 void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const Time& x ) throw(SQLExcep… in setTime() argument
347 setParameter(parameterIndex,adDBTime,sizeof(x),x); in setTime()
351 void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& x ) throw… in setTimestamp() argument
353 setParameter(parameterIndex,adDBTimeStamp,sizeof(x),x); in setTimestamp()
357 void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x ) throw(SQLExceptio… in setDouble() argument
359 setParameter(parameterIndex,adDouble,sizeof(x),x); in setDouble()
363 void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException,… in setFloat() argument
365 setParameter(parameterIndex,adSingle,sizeof(x),x); in setFloat()
369 void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQLExceptio… in setInt() argument
371 setParameter(parameterIndex,adInteger,sizeof(x),x); in setInt()
375 void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 x ) throw(SQLExcepti… in setLong() argument
377 setParameter(parameterIndex,adBigInt,sizeof(x),x); in setLong()
381 void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 /*sqlType*/ ) throw(… in setNull() argument
385 setParameter(parameterIndex,adEmpty,0,aVal); in setNull()
413 void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_In… in setObjectWithInfo() argument
419 setString(parameterIndex,::comphelper::getString(x)); in setObjectWithInfo()
422 ::dbtools::setObjectWithInfo(this,parameterIndex,x,sqlType,scale); in setObjectWithInfo()
428 void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const… in setObjectNull() argument
430 setNull(parameterIndex,sqlType); in setObjectNull()
434 void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x ) throw(SQLExce… in setObject() argument
436 if(!::dbtools::implSetObject(this,parameterIndex,x)) in setObject()
440 "$position$", ::rtl::OUString::valueOf(parameterIndex) in setObject()
448 void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLExcept… in setShort() argument
450 setParameter(parameterIndex,adSmallInt,sizeof(x),x); in setShort()
454 void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x… in setBytes() argument
456 setParameter(parameterIndex,adVarBinary,sizeof(sal_Int8)*x.getLength(),x); in setBytes()
469 void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, const Reference< ::com… in setBinaryStream() argument
475 setBytes(parameterIndex,aData); in setBinaryStream()