@seecom::sun::star::sdbc::XPreparedStatement
*/
published interface XParameters: com::sun::star::uno::XInterface
{
/** sets the designated parameter to SQL NULL.
*/ void setNull([in]long parameterIndex,
[in]long sqlType) raises (SQLException);
/** sets the designated parameter to SQL NULL. This version of setNull should beusedforuser-namedtypesandREFtypeparameters.Examples ofuser-namedtypesinclude:STRUCT,DISTINCT,OBJECT,and namedarraytypes.
/** sets the designated parameter to a boolean value. The driver converts this toaSQLBITvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setBoolean([in]long parameterIndex, [in]boolean x)
raises (SQLException);
/** sets the designated parameter to a byte value. The driver converts this toaSQLTINYINTvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setByte([in]long parameterIndex, [in]byte x) raises (SQLException);
/** sets the designated parameter to a short value. The driver converts this toaSQLSMALLINTvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setShort([in]long parameterIndex, [in]short x) raises (SQLException);
/** sets the designated parameter to a long value. The driver converts this toaSQLINTEGERvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setInt([in]long parameterIndex, [in]long x) raises (SQLException);
/** sets the designated parameter to a hyper value. The driver converts this toaSQLBIGINTvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setLong([in]long parameterIndex, [in]hyper x) raises (SQLException);
/** sets the designated parameter to a float value. The driver converts this toaSQLFLOATvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setFloat([in]long parameterIndex, [in]float x) raises (SQLException);
/** sets the designated parameter to a double value. The driver converts this toaSQLDOUBLEvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setDouble([in]long parameterIndex, [in]double x) raises (SQLException);
/** sets the designated parameter to a string value. The driver converts this toaSQLVARCHARorLONGVARCHARvalue(dependingontheargument's sizerelativetothedriver'slimitsonVARCHARs)whenitsends ittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setString([in]long parameterIndex, [in]string x) raises (SQLException);
/** sets the designated parameter to a sequence of bytes. The driver converts thistoaSQLVARBINARYorLONGVARBINARY(dependingonthe argument'ssizerelativetothedriver'slimitsonVARBINARYs) whenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setBytes([in]long parameterIndex, [in]sequence<byte> x)
raises (SQLException);
/** sets the designated parameter to a date value. The driver converts this toaSQLDATEvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setDate([in]long parameterIndex, [in]com::sun::star::util::Date x)
raises (SQLException);
/** sets the designated parameter to a time value. The driver converts this toaSQLTIMEvaluewhenitsendsittothedatabase. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setTime([in]long parameterIndex, [in]com::sun::star::util::Time x)
raises (SQLException);
/** sets the designated parameter to a datetime value. The driver convertsthistoaSQLTIMESTAMPvaluewhenitsendsittothe database. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setTimestamp([in]long parameterIndex,
[in]com::sun::star::util::DateTime x) raises (SQLException);
/** sets the designated parameter to the given input stream, which will have thespecifiednumberofbytes. WhenaverylargebinaryvalueisinputtoaLONGVARBINARYorLONGVARCHAR parameter,itmaybemorepracticaltosenditviaan com::sun::star::io::XInputStream .SDBCwillreadthedatafromthestreamasneeded,untilitreachesend-of-file. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @paramlength thenumberofbytesinthestream @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setBinaryStream([in]long parameterIndex,
[in]com::sun::star::io::XInputStream x,
[in]long length) raises (SQLException);
/** sets the designated parameter to the given input stream, which will have thespecifiednumberofbytes. WhenaverylargebinaryvalueisinputtoaLONGVARCHAR parameter,itmaybemorepracticaltosenditviaa com::sun::star::io::XInputStream .SDBCwillreadthedatafromthestreamasneeded,untilitreachesend-of-file. @paramparameterIndex thefirstparameteris1,thesecondis2,... @paramx theparametervalue @paramlength thenumberofcharactersinthestream @throwsSQLException ifadatabaseaccesserroroccurs.
*/ void setCharacterStream([in]long parameterIndex,
[in]com::sun::star::io::XInputStream x,
[in]long length) raises (SQLException);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.