26#include <com/sun/star/sdbc/XPreparedStatement.hpp>
27#include <com/sun/star/sdbc/XParameters.hpp>
28#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
29#include <com/sun/star/sdbc/XPreparedBatchExecution.hpp>
30#include <com/sun/star/io/XInputStream.hpp>
39 css::sdbc::XParameters,
40 css::sdbc::XPreparedBatchExecution,
41 css::sdbc::XResultSetMetaDataSupplier,
49 css::uno::Reference< css::sdbc::XResultSetMetaData >
m_xMetaData;
64 template <
typename T>
void setValue(sal_Int32 nIndex,
const T& nValue, ISC_SHORT nType);
78 void setClob(sal_Int32 nParamIndex,
const OUString& rStr);
82 const css::uno::Any& rValue)
override;
91 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
92 virtual void SAL_CALL
acquire() noexcept override;
93 virtual
void SAL_CALL
release() noexcept override;
98 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
100 virtual sal_Int32 SAL_CALL
104 virtual css::
uno::Reference< css::sdbc::XConnection > SAL_CALL
108 virtual
void SAL_CALL
setNull(sal_Int32 nIndex, sal_Int32 nValue) override;
109 virtual
void SAL_CALL
setObjectNull(sal_Int32 parameterIndex, sal_Int32 sqlType, const OUString&
typeName ) override;
111 virtual
void SAL_CALL
setByte(sal_Int32 nIndex,
sal_Int8 nValue) override;
112 virtual
void SAL_CALL
setShort(sal_Int32 nIndex, sal_Int16 nValue) override;
113 virtual
void SAL_CALL
setInt(sal_Int32 nIndex, sal_Int32 nValue) override;
114 virtual
void SAL_CALL
setLong(sal_Int32 nIndex, sal_Int64 nValue) override;
115 virtual
void SAL_CALL
setFloat( sal_Int32 parameterIndex,
float x ) override;
116 virtual
void SAL_CALL
setDouble( sal_Int32 parameterIndex,
double x ) override;
117 virtual
void SAL_CALL
setString( sal_Int32 parameterIndex, const OUString& x ) override;
118 virtual
void SAL_CALL
setBytes( sal_Int32 parameterIndex, const css::
uno::Sequence<
sal_Int8 >& x ) override;
119 virtual
void SAL_CALL
setDate( sal_Int32 parameterIndex, const css::util::
Date& x ) override;
120 virtual
void SAL_CALL
setTime( sal_Int32 parameterIndex, const css::util::Time& x ) override;
122 virtual
void SAL_CALL
setBinaryStream( sal_Int32 parameterIndex, const css::
uno::Reference< css::io::XInputStream >& x, sal_Int32 length ) override;
123 virtual
void SAL_CALL
setCharacterStream( sal_Int32 parameterIndex, const css::
uno::Reference< css::io::XInputStream >& x, sal_Int32 length ) override;
124 virtual
void SAL_CALL
setObject( sal_Int32 parameterIndex, const css::
uno::Any& x ) override;
125 virtual
void SAL_CALL
setObjectWithInfo( sal_Int32 parameterIndex, const css::
uno::Any& x, sal_Int32 targetSqlType, sal_Int32
scale ) override;
126 virtual
void SAL_CALL
setRef( sal_Int32 parameterIndex, const css::
uno::Reference< css::sdbc::XRef >& x ) override;
127 virtual
void SAL_CALL
setBlob( sal_Int32 parameterIndex, const css::
uno::Reference< css::sdbc::XBlob >& x ) override;
128 virtual
void SAL_CALL
setClob( sal_Int32 parameterIndex, const css::
uno::Reference< css::sdbc::XClob >& x ) override;
129 virtual
void SAL_CALL
setArray( sal_Int32 parameterIndex, const css::
uno::Reference< css::sdbc::XArray >& x ) override;
133 virtual
void SAL_CALL
135 virtual
void SAL_CALL
137 virtual css::
uno::Sequence< sal_Int32 > SAL_CALL
141 virtual
void SAL_CALL
close() override;
143 virtual
void SAL_CALL
disposing() override;
146 virtual css::
uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL
getMetaData( ) override;
virtual void SAL_CALL setDate(sal_Int32 parameterIndex, const css::util::Date &x) override
virtual void SAL_CALL setLong(sal_Int32 nIndex, sal_Int64 nValue) override
virtual void SAL_CALL release() noexcept override
virtual ~OPreparedStatement() override
virtual void SAL_CALL setCharacterStream(sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
void setParameterNull(sal_Int32 nParameterIndex, bool bSetNull=true)
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery() override
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xMetaData
virtual void SAL_CALL setObjectNull(sal_Int32 parameterIndex, sal_Int32 sqlType, const OUString &typeName) override
virtual void SAL_CALL setTime(sal_Int32 parameterIndex, const css::util::Time &x) override
virtual void SAL_CALL setBoolean(sal_Int32 nIndex, sal_Bool nValue) override
OPreparedStatement(Connection *_pConnection, const OUString &sql)
void openBlobForWriting(isc_blob_handle &rBlobHandle, ISC_QUAD &rBlobId)
Assumes that all necessary mutexes have been taken.
void setValue(sal_Int32 nIndex, const T &nValue, ISC_SHORT nType)
Set a numeric value in the input SQLDA.
virtual void SAL_CALL setObject(sal_Int32 parameterIndex, const css::uno::Any &x) override
virtual void SAL_CALL setBytes(sal_Int32 parameterIndex, const css::uno::Sequence< sal_Int8 > &x) override
virtual void SAL_CALL setDouble(sal_Int32 parameterIndex, double x) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL addBatch() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL setByte(sal_Int32 nIndex, sal_Int8 nValue) override
virtual void SAL_CALL setString(sal_Int32 parameterIndex, const OUString &x) override
virtual void SAL_CALL disposing() override
virtual void SAL_CALL setArray(sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XArray > &x) override
virtual void SAL_CALL setObjectWithInfo(sal_Int32 parameterIndex, const css::uno::Any &x, sal_Int32 targetSqlType, sal_Int32 scale) override
virtual css::uno::Sequence< sal_Int32 > SAL_CALL executeBatch() override
virtual sal_Int32 SAL_CALL executeUpdate() override
virtual void SAL_CALL clearBatch() override
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection() override
virtual void SAL_CALL setBinaryStream(sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
void setClob(sal_Int32 nParamIndex, const OUString &rStr)
virtual void SAL_CALL setTimestamp(sal_Int32 parameterIndex, const css::util::DateTime &x) override
virtual void SAL_CALL setInt(sal_Int32 nIndex, sal_Int32 nValue) override
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData() override
virtual void SAL_CALL setNull(sal_Int32 nIndex, sal_Int32 nValue) override
virtual sal_Bool SAL_CALL execute() override
virtual void SAL_CALL setRef(sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XRef > &x) override
virtual void SAL_CALL clearParameters() override
virtual void SAL_CALL setBlob(sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XBlob > &x) override
virtual void SAL_CALL setShort(sal_Int32 nIndex, sal_Int16 nValue) override
void closeBlobAfterWriting(isc_blob_handle &rBlobHandle)
Assumes that all necessary mutexes have been taken.
void checkParameterIndex(sal_Int32 nParameterIndex)
virtual void SAL_CALL close() override
virtual void SAL_CALL setFloat(sal_Int32 parameterIndex, float x) override
virtual void SAL_CALL acquire() noexcept override
::cppu::ImplHelper5< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XPreparedBatchExecution, css::sdbc::XResultSetMetaDataSupplier, css::lang::XServiceInfo > OPreparedStatement_Base