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/util/XCancellable.hpp>
28#include <com/sun/star/sdbc/XGeneratedResultSet.hpp>
33#include <com/sun/star/lang/XServiceInfo.hpp>
41 typedef ::cppu::WeakComponentImplHelper< css::sdbc::XStatement,
42 css::sdbc::XWarningsSupplier,
43 css::util::XCancellable,
44 css::sdbc::XCloseable,
45 css::sdbc::XGeneratedResultSet,
128 virtual ::cppu::IPropertyArrayHelper & SAL_CALL
getInfoHelper()
override;
131 css::uno::Any & rConvertedValue,
132 css::uno::Any & rOldValue,
134 const css::uno::Any& rValue
139 const css::uno::Any& rValue
143 css::uno::Any& rValue,
151 sal_Int32
impl_getProperty(
const char* _pMethodName, jmethodID& _inout_MethodID);
152 sal_Int32
impl_getProperty(
const char* _pMethodName, jmethodID& _inout_MethodID,sal_Int32 _nDefault);
163 virtual void SAL_CALL
disposing()
override;
165 virtual void SAL_CALL
acquire() noexcept override;
166 virtual
void SAL_CALL
release() noexcept override;
174 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
executeQuery( const OUString&
sql ) override ;
177 virtual css::
uno::Reference< css::sdbc::XConnection > SAL_CALL
getConnection( ) override ;
182 virtual
void SAL_CALL
cancel( ) override;
184 virtual
void SAL_CALL
close( ) override;
186 virtual css::
uno::Reference< css::sdbc::XResultSet > SAL_CALL
getResultSet( ) override;
203 virtual void SAL_CALL
disposing()
override;
207 public css::sdbc::XBatchExecution,
208 public css::lang::XServiceInfo
224 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
225 virtual void SAL_CALL
acquire() noexcept override;
226 virtual
void SAL_CALL
release() noexcept override;
228 virtual
void SAL_CALL addBatch( const OUString&
sql ) override;
229 virtual
void SAL_CALL clearBatch( ) override;
230 virtual css::
uno::Sequence< sal_Int32 > SAL_CALL executeBatch( ) override;
OStatement_BASE2(JNIEnv *pEnv, java_sql_Connection &_rCon)
sal_Int32 getObjectID() const
void setEscapeProcessing(bool _par0)
java::sql::ConnectionLog m_aLogger
virtual void SAL_CALL close() override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getGeneratedValues() override
sal_Int32 impl_getProperty(const char *_pMethodName, jmethodID &_inout_MethodID)
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection() override
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
sal_Int32 getResultSetType()
virtual jclass getMyClass() const override
virtual css::uno::Any SAL_CALL getWarnings() override
void setMaxRows(sal_Int32 _par0)
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual void SAL_CALL clearWarnings() override
css::uno::Reference< css::sdbc::XStatement > m_xGeneratedStatement
virtual sal_Bool SAL_CALL execute(const OUString &sql) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
void setQueryTimeOut(sal_Int32 _par0)
void setFetchDirection(sal_Int32 _par0)
sal_Int32 m_nResultSetConcurrency
virtual sal_Bool SAL_CALL getMoreResults() override
virtual sal_Int32 SAL_CALL executeUpdate(const OUString &sql) override
sal_Int32 getResultSetConcurrency()
void setFetchSize(sal_Int32 _par0)
void setResultSetType(sal_Int32 _par0)
sal_Int32 m_nResultSetType
virtual ~java_sql_Statement_Base() override
virtual void SAL_CALL release() noexcept override
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery(const OUString &sql) override
sal_Int32 getStatementObjectID() const
virtual void SAL_CALL disposing() override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
virtual sal_Int32 SAL_CALL getUpdateCount() override
rtl::Reference< java_sql_Connection > m_pConnection
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL cancel() override
void setCursorName(const OUString &_par0)
sal_Int32 getFetchDirection()
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet() override
void setResultSetConcurrency(sal_Int32 _par0)
sal_Int32 getQueryTimeOut()
virtual void createStatement(JNIEnv *_pEnv)=0
java_sql_Statement_Base(JNIEnv *pEnv, java_sql_Connection &_rCon)
sal_Int32 getMaxFieldSize()
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
void setMaxFieldSize(sal_Int32 _par0)
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
java_sql_Statement(JNIEnv *pEnv, java_sql_Connection &_rCon)
::cppu::WeakComponentImplHelper< css::sdbc::XStatement, css::sdbc::XWarningsSupplier, css::util::XCancellable, css::sdbc::XCloseable, css::sdbc::XGeneratedResultSet, css::sdbc::XMultipleResults > java_sql_Statement_BASE