21#include <com/sun/star/lang/XServiceInfo.hpp>
22#include <com/sun/star/sdbc/XStatement.hpp>
23#include <com/sun/star/sdbc/XConnection.hpp>
24#include <com/sun/star/util/XCancellable.hpp>
25#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
26#include <com/sun/star/sdbc/XCloseable.hpp>
27#include <com/sun/star/sdbc/XMultipleResults.hpp>
28#include <com/sun/star/sdbc/XPreparedBatchExecution.hpp>
29#include <com/sun/star/sdbc/XBatchExecution.hpp>
30#include <com/sun/star/sdbc/XGeneratedResultSet.hpp>
31#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
45 public css::util::XCancellable,
46 public css::sdbc::XWarningsSupplier,
47 public css::sdbc::XPreparedBatchExecution,
48 public css::sdbc::XMultipleResults,
49 public css::sdbc::XCloseable,
50 public css::sdbc::XGeneratedResultSet
64 OStatementBase(
const css::uno::Reference< css::sdbc::XConnection > & _xConn,
65 const css::uno::Reference< css::uno::XInterface > & _xStatement);
69 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
override;
72 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
73 virtual void SAL_CALL
acquire() noexcept override;
74 virtual
void SAL_CALL
release() noexcept override;
77 virtual
void SAL_CALL
disposing() override;
89 css::
uno::Any & rConvertedValue,
90 css::
uno::Any & rOldValue,
92 const css::
uno::Any& rValue ) override;
95 const css::
uno::Any& rValue
104 virtual
void SAL_CALL
cancel( ) override;
107 virtual
void SAL_CALL
close( ) override;
110 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
getResultSet( ) override;
115 virtual
void SAL_CALL
addBatch( ) override;
117 virtual css::
uno::Sequence< sal_Int32 > SAL_CALL
executeBatch( ) override;
131typedef ::
cppu::ImplHelper3 < css::sdbc::XStatement
132 , css::lang::XServiceInfo
133 , css::sdbc::XBatchExecution
140 css::uno::Reference< css::sdb::XSingleSelectQueryComposer >
m_xComposer;
144 OStatement(
const css::uno::Reference< css::sdbc::XConnection > & _xConn,
145 const css::uno::Reference< css::uno::XInterface > & _xStatement);
148 DECLARE_XTYPEPROVIDER()
151 virtual OUString SAL_CALL getImplementationName( ) override;
152 virtual
sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
153 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
156 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery( const OUString&
sql ) override;
157 virtual sal_Int32 SAL_CALL executeUpdate( const OUString&
sql ) override;
158 virtual
sal_Bool SAL_CALL execute( const OUString&
sql ) override;
159 virtual css::
uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection( ) override;
162 virtual
void SAL_CALL
disposing() override;
165 virtual
void SAL_CALL
addBatch( const OUString&
sql ) override;
167 virtual css::
uno::Sequence< sal_Int32 > SAL_CALL
executeBatch( ) override;
175 OUString impl_doEscapeProcessing_nothrow( const OUString& _rSQL ) const;
176 bool impl_ensureComposer_nothrow() const;
virtual void SAL_CALL acquire() noexcept override
virtual sal_Int32 SAL_CALL getUpdateCount() override
virtual void SAL_CALL clearWarnings() override
virtual css::uno::Sequence< sal_Int32 > SAL_CALL executeBatch() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
css::uno::WeakReferenceHelper m_aResultSet
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getGeneratedValues() override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet() override
virtual css::uno::Any SAL_CALL getWarnings() override
virtual void SAL_CALL clearBatch() override
virtual void SAL_CALL close() override
virtual void SAL_CALL release() noexcept override
virtual sal_Bool SAL_CALL getMoreResults() override
OStatementBase(const css::uno::Reference< css::sdbc::XConnection > &_xConn, const css::uno::Reference< css::uno::XInterface > &_xStatement)
virtual void SAL_CALL disposing() override
virtual void SAL_CALL addBatch() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
css::uno::Reference< css::util::XCancellable > m_xAggregateAsCancellable
virtual ~OStatementBase() override
virtual void SAL_CALL cancel() override
::osl::Mutex m_aCancelMutex
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
css::uno::Reference< css::beans::XPropertySet > m_xAggregateAsSet
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
OStatement(const css::uno::Reference< css::sdbc::XConnection > &_xConn, const css::uno::Reference< css::uno::XInterface > &_xStatement)
css::uno::Reference< css::sdbc::XStatement > m_xAggregateStatement
bool m_bAttemptedComposerCreation
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xComposer
OPropertySetHelper(OBroadcastHelper &rBHelper)
#define DECLARE_XINTERFACE()