21#include <com/sun/star/sdbc/SQLWarning.hpp>
22#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
23#include <com/sun/star/beans/PropertyValue.hpp>
41 class WpADOConnection;
44 typedef std::multimap<DataTypeEnum, OExtendedTypeInfo*>
OTypeInfoMap;
57 css::uno::WeakReference< css::sdbcx::XTablesSupplier>
m_xCatalog;
75 void construct(std::u16string_view url,
const css::uno::Sequence< css::beans::PropertyValue >& info);
78 virtual sal_Int64 SAL_CALL
getSomething(
const css::uno::Sequence< sal_Int8 >& aIdentifier )
override;
83 virtual void SAL_CALL
disposing()
override;
86 virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL
createStatement( )
override;
87 virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL
prepareStatement(
const OUString&
sql )
override;
88 virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL
prepareCall(
const OUString&
sql )
override;
89 virtual OUString SAL_CALL
nativeSQL(
const OUString&
sql )
override;
92 virtual void SAL_CALL
commit( )
override;
93 virtual void SAL_CALL
rollback( )
override;
95 virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL
getMetaData( )
override;
98 virtual void SAL_CALL
setCatalog(
const OUString& catalog )
override;
99 virtual OUString SAL_CALL
getCatalog( )
override;
102 virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL
getTypeMap( )
override;
103 virtual void SAL_CALL
setTypeMap(
const css::uno::Reference< css::container::XNameAccess >& typeMap )
override;
105 virtual void SAL_CALL
close( )
override;
107 virtual css::uno::Any SAL_CALL
getWarnings( )
override;
127 const OUString& _sTypeName,
128 sal_Int32 _nPrecision,
130 bool& _brForceToType);
virtual sal_Int32 SAL_CALL getTransactionIsolation() override
virtual void SAL_CALL setCatalog(const OUString &catalog) override
virtual void SAL_CALL setAutoCommit(sal_Bool autoCommit) override
virtual void SAL_CALL setTransactionIsolation(sal_Int32 level) override
virtual void SAL_CALL disposing() override
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData() override
void construct(std::u16string_view url, const css::uno::Sequence< css::beans::PropertyValue > &info)
ODriver * getDriver() const
virtual void SAL_CALL rollback() override
virtual OUString SAL_CALL nativeSQL(const OUString &sql) override
WpADOConnection & getConnection()
virtual void SAL_CALL close() override
virtual sal_Bool SAL_CALL isClosed() override
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getTypeMap() override
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareCall(const OUString &sql) override
const OTypeInfoMap * getTypeInfo() const
void setCatalog(OCatalog *_pCatalog)
sal_Int32 getEngineType() const
WpADOConnection m_aAdoConnection
static css::uno::Sequence< sal_Int8 > getUnoTunnelId()
css::uno::WeakReference< css::sdbcx::XTablesSupplier > m_xCatalog
virtual void SAL_CALL clearWarnings() override
virtual css::uno::Reference< css::sdbc::XPreparedStatement > SAL_CALL prepareStatement(const OUString &sql) override
virtual sal_Bool SAL_CALL getAutoCommit() override
virtual void SAL_CALL setReadOnly(sal_Bool readOnly) override
static const OExtendedTypeInfo * getTypeInfoFromType(const OTypeInfoMap &_rTypeInfo, DataTypeEnum _nType, const OUString &_sTypeName, sal_Int32 _nPrecision, sal_Int32 _nScale, bool &_brForceToType)
virtual void SAL_CALL setTypeMap(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
virtual sal_Bool SAL_CALL isReadOnly() override
OConnection(ODriver *_pDriver)
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
virtual css::uno::Reference< css::sdbc::XStatement > SAL_CALL createStatement() override
virtual OUString SAL_CALL getCatalog() override
virtual css::uno::Any SAL_CALL getWarnings() override
OCatalog * getAdoCatalog() const
void setCatalog(const css::uno::WeakReference< css::sdbcx::XTablesSupplier > &_xCat)
virtual void SAL_CALL commit() override
connectivity::OMetaConnection OConnection_BASE
std::multimap< DataTypeEnum, OExtendedTypeInfo * > OTypeInfoMap
::connectivity::OTypeInfo aSimpleType
OUString getDBName() const