22#include <com/sun/star/sdbc/XDatabaseMetaData2.hpp>
25#include <com/sun/star/lang/XEventListener.hpp>
34 public ::cppu::WeakImplHelper< css::sdbc::XDatabaseMetaData2,
35 css::lang::XEventListener>
58 ::osl::MutexGuard aGuard(
m_aMutex );
61 _rCache.second = _pImplMethod(
this);
64 return _rCache.second;
92 ODatabaseMetaDataBase(
const css::uno::Reference< css::sdbc::XConnection >& _rxConnection,
const css::uno::Sequence< css::beans::PropertyValue >& _rInfo);
95 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getConnectionInfo( )
override;
98 virtual void SAL_CALL disposing(
const css::lang::EventObject& Source )
override;
100 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getTypeInfo( )
override;
101 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getProcedures(
const css::uno::Any& catalog,
const OUString& schemaPattern,
const OUString& procedureNamePattern )
override;
102 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getProcedureColumns(
const css::uno::Any& catalog,
const OUString& schemaPattern,
const OUString& procedureNamePattern,
const OUString& columnNamePattern )
override;
103 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getSchemas( )
override;
104 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getCatalogs( )
override;
105 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getColumnPrivileges(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table,
const OUString& columnNamePattern )
override;
106 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL
getTablePrivileges(
const css::uno::Any& catalog,
const OUString& schemaPattern,
const OUString& tableNamePattern )
override;
107 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getBestRowIdentifier(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table, sal_Int32 scope,
sal_Bool nullable )
override;
108 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getVersionColumns(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table )
override;
109 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getPrimaryKeys(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table )
override;
110 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getImportedKeys(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table )
override;
111 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getExportedKeys(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table )
override;
112 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getCrossReference(
const css::uno::Any& primaryCatalog,
const OUString& primarySchema,
const OUString& primaryTable,
const css::uno::Any& foreignCatalog,
const OUString& foreignSchema,
const OUString& foreignTable )
override;
113 virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getIndexInfo(
const css::uno::Any& catalog,
const OUString& schema,
const OUString& table,
sal_Bool unique,
sal_Bool approximate )
override;
115 virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL
getConnection( )
override;
117 virtual OUString SAL_CALL getIdentifierQuoteString( )
override;
118 virtual sal_Bool SAL_CALL isCatalogAtStart( )
override;
119 virtual OUString SAL_CALL getCatalogSeparator( )
override;
120 virtual sal_Bool SAL_CALL supportsCatalogsInTableDefinitions( )
override;
121 virtual sal_Bool SAL_CALL supportsSchemasInTableDefinitions( )
override;
122 virtual sal_Bool SAL_CALL supportsCatalogsInDataManipulation( )
override;
123 virtual sal_Bool SAL_CALL supportsSchemasInDataManipulation( )
override;
124 virtual sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers( )
override;
125 virtual sal_Bool SAL_CALL supportsAlterTableWithAddColumn( )
override;
126 virtual sal_Bool SAL_CALL supportsAlterTableWithDropColumn( )
override;
127 virtual sal_Int32 SAL_CALL getMaxStatements( )
override;
128 virtual sal_Int32 SAL_CALL getMaxTablesInSelect( )
override;
129 virtual sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers( )
override;