Lines Matching refs:parameterIndex

202 void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) t…  in setString()  argument
205 setParameter(parameterIndex,x); in setString()
229 void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(SQLExcep… in setBoolean() argument
232 setParameter(parameterIndex,x); in setBoolean()
235 void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(SQLExceptio… in setByte() argument
238 setParameter(parameterIndex,x); in setByte()
242 void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& aData ) throw(SQLE… in setDate() argument
245 setParameter(parameterIndex,DBTypeConversion::toDouble(aData)); in setDate()
248 void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const Time& aVal ) throw(SQLEx… in setTime() argument
251 setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); in setTime()
255 void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& aVal ) th… in setTimestamp() argument
258 setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); in setTimestamp()
262 void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x ) throw(SQLExceptio… in setDouble() argument
265 setParameter(parameterIndex,x); in setDouble()
270 void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException,… in setFloat() argument
273 setParameter(parameterIndex,x); in setFloat()
277 void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQLExceptio… in setInt() argument
280 setParameter(parameterIndex,x); in setInt()
291 void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 /*sqlType*/ ) throw(… in setNull() argument
295 checkAndResizeParameters(parameterIndex); in setNull()
298 (m_aAssignValues->get())[m_aParameterIndexes[parameterIndex]]->setNull(); in setNull()
300 (m_aParameterRow->get())[parameterIndex]->setNull(); in setNull()
332 void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_In… in setObjectWithInfo() argument
339 setString(parameterIndex,::comphelper::getString(x)); in setObjectWithInfo()
342 ::dbtools::setObjectWithInfo(this,parameterIndex,x,sqlType,scale); in setObjectWithInfo()
348 void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const… in setObjectNull() argument
351 setNull(parameterIndex,sqlType); in setObjectNull()
355 void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x ) throw(SQLExce… in setObject() argument
358 if(!::dbtools::implSetObject(this,parameterIndex,x)) in setObject()
362 "$position$", ::rtl::OUString::valueOf(parameterIndex) in setObject()
370 void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLExcept… in setShort() argument
373 setParameter(parameterIndex,x); in setShort()
377 void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x… in setBytes() argument
380 setParameter(parameterIndex,x); in setBytes()
385 void SAL_CALL OPreparedStatement::setCharacterStream( sal_Int32 parameterIndex, const Reference< ::… in setCharacterStream() argument
388 setBinaryStream(parameterIndex,x,length ); in setCharacterStream()
392 void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, const Reference< ::com… in setBinaryStream() argument
400 setParameter(parameterIndex,aSeq); in setBinaryStream()
447 void OPreparedStatement::checkAndResizeParameters(sal_Int32 parameterIndex) in checkAndResizeParameters() argument
451 …if ( m_aAssignValues.isValid() && (parameterIndex < 1 || parameterIndex >= static_cast<sal_Int32>(… in checkAndResizeParameters()
453 else if ( static_cast<sal_Int32>((m_aParameterRow->get()).size()) <= parameterIndex ) in checkAndResizeParameters()
456 (m_aParameterRow->get()).resize(parameterIndex+1); in checkAndResizeParameters()
457 for ( ;i <= parameterIndex+1; ++i ) in checkAndResizeParameters()
465 void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const ORowSetValue& x) in setParameter() argument
469 checkAndResizeParameters(parameterIndex); in setParameter()
472 *(m_aAssignValues->get())[m_aParameterIndexes[parameterIndex]] = x; in setParameter()
474 *((m_aParameterRow->get())[parameterIndex]) = x; in setParameter()