24#include <com/sun/star/sdbc/XPreparedStatement.hpp>
25#include <com/sun/star/sdbc/XParameters.hpp>
26#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
27#include <com/sun/star/sdbc/XPreparedBatchExecution.hpp>
28#include <com/sun/star/io/XInputStream.hpp>
33using ::com::sun::star::sdbc::XResultSetMetaData;
34using ::com::sun::star::uno::Any;
35using ::com::sun::star::uno::Reference;
36using ::com::sun::star::uno::Type;
38#if defined MYSQL_VERSION_ID && (MYSQL_VERSION_ID >= 80000) && !defined MARIADB_BASE_VERSION
52 css::sdbc::XResultSetMetaDataSupplier, css::lang::XServiceInfo>
79 void SAL_CALL
acquire() noexcept override;
80 void SAL_CALL
release() noexcept override;
86 Reference<css::sdbc::XResultSet> SAL_CALL
executeQuery() override;
89 Reference<css::sdbc::XConnection> SAL_CALL
getConnection() override;
92 void SAL_CALL
setNull(sal_Int32 parameter, sal_Int32 sqlType) override;
94 void SAL_CALL
setObjectNull(sal_Int32 parameter, sal_Int32 sqlType,
101 void SAL_CALL
setShort(sal_Int32 parameter, sal_Int16 x) override;
103 void SAL_CALL
setInt(sal_Int32 parameter, sal_Int32 x) override;
105 void SAL_CALL
setLong(sal_Int32 parameter, sal_Int64 x) override;
107 void SAL_CALL
setFloat(sal_Int32 parameter,
float x) override;
109 void SAL_CALL
setDouble(sal_Int32 parameter,
double x) override;
111 void SAL_CALL
setString(sal_Int32 parameter, const OUString& x) override;
115 void SAL_CALL
setDate(sal_Int32 parameter, const css::util::
Date& x) override;
117 void SAL_CALL
setTime(sal_Int32 parameter, const css::util::Time& x) override;
120 void SAL_CALL
setBinaryStream(sal_Int32 parameter, const Reference<css::io::XInputStream>& x,
121 sal_Int32 length) override;
124 sal_Int32 length) override;
126 void SAL_CALL
setObject(sal_Int32 parameter, const Any& x) override;
128 void SAL_CALL
setObjectWithInfo(sal_Int32 parameter, const Any& x, sal_Int32 targetSqlType,
129 sal_Int32
scale) override;
131 void SAL_CALL
setRef(sal_Int32 parameter, const Reference<css::sdbc::XRef>& x) override;
133 void SAL_CALL
setBlob(sal_Int32 parameter, const Reference<css::sdbc::XBlob>& x) override;
135 void SAL_CALL
setClob(sal_Int32 parameter, const Reference<css::sdbc::XClob>& x) override;
137 void SAL_CALL
setArray(sal_Int32 parameter, const Reference<css::sdbc::XArray>& x) override;
147 void SAL_CALL
close() override;
150 Reference<css::sdbc::XResultSetMetaData> SAL_CALL
getMetaData() override;
void SAL_CALL setArray(sal_Int32 parameter, const Reference< css::sdbc::XArray > &x) override
void SAL_CALL setObject(sal_Int32 parameter, const Any &x) override
void SAL_CALL release() noexcept override
virtual ~OPreparedStatement() override
void SAL_CALL setBoolean(sal_Int32 parameter, sal_Bool x) override
OPreparedStatement(OConnection *_pConnection, MYSQL_STMT *pStmt)
void SAL_CALL setRef(sal_Int32 parameter, const Reference< css::sdbc::XRef > &x) override
void SAL_CALL setByte(sal_Int32 parameter, sal_Int8 x) override
void SAL_CALL setBlob(sal_Int32 parameter, const Reference< css::sdbc::XBlob > &x) override
void SAL_CALL setDate(sal_Int32 parameter, const css::util::Date &x) override
Reference< css::sdbc::XResultSet > SAL_CALL executeQuery() override
void SAL_CALL setFloat(sal_Int32 parameter, float x) override
std::vector< BindMetaData > m_bindMetas
void checkParameterIndex(sal_Int32 parameter)
void SAL_CALL setClob(sal_Int32 parameter, const Reference< css::sdbc::XClob > &x) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
void SAL_CALL setObjectWithInfo(sal_Int32 parameter, const Any &x, sal_Int32 targetSqlType, sal_Int32 scale) override
void SAL_CALL setObjectNull(sal_Int32 parameter, sal_Int32 sqlType, const OUString &typeName) override
void SAL_CALL setCharacterStream(sal_Int32 parameter, const Reference< css::io::XInputStream > &x, sal_Int32 length) override
Reference< XResultSetMetaData > m_xMetaData
void SAL_CALL setNull(sal_Int32 parameter, sal_Int32 sqlType) override
virtual sal_Bool SAL_CALL supportsService(OUString const &ServiceName) override
void SAL_CALL setBytes(sal_Int32 parameter, const css::uno::Sequence< sal_Int8 > &x) override
css::uno::Sequence< Type > SAL_CALL getTypes() override
void SAL_CALL setString(sal_Int32 parameter, const OUString &x) override
sal_Int32 SAL_CALL executeUpdate() override
Any SAL_CALL queryInterface(const Type &rType) override
Reference< css::sdbc::XConnection > SAL_CALL getConnection() override
unsigned int m_paramCount
void SAL_CALL setBinaryStream(sal_Int32 parameter, const Reference< css::io::XInputStream > &x, sal_Int32 length) override
std::vector< MYSQL_BIND > m_binds
virtual OUString SAL_CALL getImplementationName() override
Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData() override
sal_Bool SAL_CALL execute() override
void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any &rValue) override
void SAL_CALL clearParameters() override
void SAL_CALL setLong(sal_Int32 parameter, sal_Int64 x) override
void SAL_CALL setTimestamp(sal_Int32 parameter, const css::util::DateTime &x) override
void SAL_CALL setDouble(sal_Int32 parameter, double x) override
void SAL_CALL setTime(sal_Int32 parameter, const css::util::Time &x) override
void SAL_CALL setInt(sal_Int32 parameter, sal_Int32 x) override
void SAL_CALL close() override
void SAL_CALL setShort(sal_Int32 parameter, sal_Int16 x) override
void SAL_CALL acquire() noexcept override
::cppu::ImplHelper4< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XResultSetMetaDataSupplier, css::lang::XServiceInfo > OPreparedStatement_BASE