22#include <com/sun/star/sdbc/XStatement.hpp>
23#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
24#include <com/sun/star/sdbc/XMultipleResults.hpp>
25#include <com/sun/star/sdbc/XBatchExecution.hpp>
26#include <com/sun/star/sdbc/XCloseable.hpp>
27#include <com/sun/star/sdbc/SQLWarning.hpp>
28#include <com/sun/star/util/XCancellable.hpp>
36#include <com/sun/star/lang/XServiceInfo.hpp>
40 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XStatement,
41 css::sdbc::XWarningsSupplier,
42 css::util::XCancellable,
43 css::sdbc::XCloseable,
78 using OStatement_BASE::rBHelper;
149 virtual ::cppu::IPropertyArrayHelper & SAL_CALL
getInfoHelper()
override;
151 css::uno::Any & rConvertedValue,
152 css::uno::Any & rOldValue,
154 const css::uno::Any& rValue )
override;
157 const css::uno::Any& rValue
160 css::uno::Any& rValue,
166 using OStatement_BASE::operator css::uno::Reference< css::uno::XInterface >;
168 virtual void SAL_CALL
disposing()
override;
170 virtual void SAL_CALL
acquire() noexcept override;
171 virtual
void SAL_CALL
release() noexcept override;
179 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
executeQuery( const OUString&
sql ) override;
182 virtual css::
uno::Reference< css::sdbc::XConnection > SAL_CALL
getConnection( ) override;
187 virtual
void SAL_CALL
cancel( ) override;
189 virtual
void SAL_CALL
close( ) override;
191 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
getResultSet( ) override;
197 public css::sdbc::XBatchExecution,
198 public css::lang::XServiceInfo
207 virtual void SAL_CALL
acquire() noexcept override;
208 virtual
void SAL_CALL
release() noexcept override;
211 virtual
void SAL_CALL addBatch( const OUString&
sql ) override;
212 virtual
void SAL_CALL clearBatch( ) override;
213 virtual css::
uno::Sequence< sal_Int32 > SAL_CALL executeBatch( ) override;
OConnection * m_pConnection
virtual void SAL_CALL cancel() override
std::vector< connectivity::OTypeInfo > m_aTypeInfo
sal_Int32 getResultSetConcurrency() const
void setQueryTimeOut(sal_Int32 _par0)
sal_Int32 getPrecision(sal_Int32 sqlType)
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
virtual void SAL_CALL acquire() noexcept override
css::uno::WeakReference< css::sdbc::XResultSet > m_xResultSet
void setCursorName(std::u16string_view _par0)
OUString getCursorName() const
void setResultSetType(sal_Int32 _par0)
sal_Int32 getFetchSize() const
void assignRecordSet(ADORecordset *_pRS)
void setMaxFieldSize(sal_Int32 _par0)
CursorTypeEnum m_eCursorType
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection() override
sal_Int32 getMaxRows() const
virtual sal_Bool SAL_CALL execute(const OUString &sql) override
static sal_Int32 getFetchDirection()
virtual sal_Int32 SAL_CALL executeUpdate(const OUString &sql) override
virtual sal_Int32 SAL_CALL getUpdateCount() override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
void setResultSetConcurrency(sal_Int32 _par0)
void setMaxRows(sal_Int32 _par0)
void setWarning(const css::sdbc::SQLWarning &ex)
virtual void SAL_CALL close() override
css::sdbc::SQLWarning m_aLastWarning
sal_Int32 getQueryTimeOut() const
virtual void SAL_CALL clearWarnings() override
virtual css::uno::Any SAL_CALL getWarnings() override
void setFetchDirection(sal_Int32 _par0)
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual sal_Bool SAL_CALL getMoreResults() override
virtual void SAL_CALL disposing() override
OLEVariant m_RecordsAffected
sal_Int32 getResultSetType() const
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
static sal_Int32 getMaxFieldSize()
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery(const OUString &sql) override
void setFetchSize(sal_Int32 _par0)
OStatement_Base(OConnection *_pConnection)
virtual void SAL_CALL release() noexcept override
std::vector< OUString > m_aBatchVector
WpADORecordset m_RecordSet
OStatement(OConnection *_pConnection)
::cppu::WeakComponentImplHelper< css::sdbc::XStatement, css::sdbc::XWarningsSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XMultipleResults > OStatement_BASE