21#include <com/sun/star/sdbc/SQLWarning.hpp>
22#include <com/sun/star/beans/PropertyValue.hpp>
31#include <osl/module.h>
69 SQLRETURN OpenConnection(
const OUString& aConnectStr,sal_Int32 nTimeOut,
bool bSilent);
74 SQLRETURN Construct(
const OUString& url,
const css::uno::Sequence< css::beans::PropertyValue >& info);
81 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;
90 virtual void SAL_CALL setAutoCommit(
sal_Bool autoCommit )
override;
91 virtual sal_Bool SAL_CALL getAutoCommit( )
override;
92 virtual void SAL_CALL commit( )
override;
93 virtual void SAL_CALL rollback( )
override;
94 virtual sal_Bool SAL_CALL isClosed( )
override;
95 virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > SAL_CALL getMetaData( )
override;
96 virtual void SAL_CALL setReadOnly(
sal_Bool readOnly )
override;
97 virtual sal_Bool SAL_CALL isReadOnly( )
override;
98 virtual void SAL_CALL setCatalog(
const OUString& catalog )
override;
99 virtual OUString SAL_CALL getCatalog( )
override;
100 virtual void SAL_CALL setTransactionIsolation( sal_Int32 level )
override;
101 virtual sal_Int32 SAL_CALL getTransactionIsolation( )
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;
108 virtual void SAL_CALL clearWarnings( )
override;
119 SQLHANDLE createStatementHandle();
121 void freeStatementHandle(SQLHANDLE& _pHandle);
bool m_bIgnoreDriverPrivileges
bool m_bPreventGetVersionColumns
bool isCatalogUsed() const
virtual void SAL_CALL setTypeMap(const css::uno::Reference< css::container::XNameAccess > &typeMap) override
bool useOldDateFormat() const
SQLHANDLE m_pDriverHandleCopy
ODBCDriver * getDriver() const
SQLHANDLE m_aConnectionHandle
sal_Int32 m_nStatementCount
bool isIgnoreDriverPrivilegesEnabled() const
std::map< SQLHANDLE, rtl::Reference< OConnection > > m_aConnections
bool preventGetVersionColumns() const
SQLHANDLE getConnection()
rtl::Reference< ODBCDriver > m_xDriver
connectivity::OMetaConnection OConnection_BASE
std::vector< ::connectivity::OTypeInfo > TTypeInfoVector
#define OOO_DLLPUBLIC_ODBCBASE