1*079eb577SAndrew Rist /************************************************************** 2*079eb577SAndrew Rist * 3*079eb577SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*079eb577SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*079eb577SAndrew Rist * distributed with this work for additional information 6*079eb577SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*079eb577SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*079eb577SAndrew Rist * "License"); you may not use this file except in compliance 9*079eb577SAndrew Rist * with the License. You may obtain a copy of the License at 10*079eb577SAndrew Rist * 11*079eb577SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*079eb577SAndrew Rist * 13*079eb577SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*079eb577SAndrew Rist * software distributed under the License is distributed on an 15*079eb577SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*079eb577SAndrew Rist * KIND, either express or implied. See the License for the 17*079eb577SAndrew Rist * specific language governing permissions and limitations 18*079eb577SAndrew Rist * under the License. 19*079eb577SAndrew Rist * 20*079eb577SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir #ifndef CONNECTIVITY_SDATABASEMETADATA_HXX 23cdf0e10cSrcweir #define CONNECTIVITY_SDATABASEMETADATA_HXX 24cdf0e10cSrcweir 25cdf0e10cSrcweir #include "mysqlc_connection.hxx" 26cdf0e10cSrcweir 27cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XDATABASEMETADATA_HPP_ 28cdf0e10cSrcweir #include <com/sun/star/sdbc/XDatabaseMetaData.hpp> 29cdf0e10cSrcweir #endif 30cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE1_HXX_ 31cdf0e10cSrcweir #include <cppuhelper/implbase1.hxx> 32cdf0e10cSrcweir #endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir #include <preextstl.h> 35cdf0e10cSrcweir #include <cppconn/metadata.h> 36cdf0e10cSrcweir #include <postextstl.h> 37cdf0e10cSrcweir 38cdf0e10cSrcweir namespace connectivity 39cdf0e10cSrcweir { 40cdf0e10cSrcweir namespace mysqlc 41cdf0e10cSrcweir { 42cdf0e10cSrcweir typedef ::com::sun::star::sdbc::SQLException my_SQLException; 43cdf0e10cSrcweir typedef ::com::sun::star::uno::RuntimeException my_RuntimeException; 44cdf0e10cSrcweir typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > my_XResultSetRef; 45cdf0e10cSrcweir using ::com::sun::star::uno::Any; 46cdf0e10cSrcweir using ::rtl::OUString; 47cdf0e10cSrcweir 48cdf0e10cSrcweir //************************************************************** 49cdf0e10cSrcweir //************ Class: ODatabaseMetaData 50cdf0e10cSrcweir //************************************************************** 51cdf0e10cSrcweir 52cdf0e10cSrcweir typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XDatabaseMetaData> ODatabaseMetaData_BASE; 53cdf0e10cSrcweir 54cdf0e10cSrcweir class ODatabaseMetaData : public ODatabaseMetaData_BASE 55cdf0e10cSrcweir { 56cdf0e10cSrcweir OConnection& m_rConnection; 57cdf0e10cSrcweir sal_Bool m_bUseCatalog; 58cdf0e10cSrcweir protected: 59cdf0e10cSrcweir sql::DatabaseMetaData * meta; 60cdf0e10cSrcweir OUString identifier_quote_string; 61cdf0e10cSrcweir bool identifier_quote_string_set; 62cdf0e10cSrcweir 63cdf0e10cSrcweir private: 64cdf0e10cSrcweir OUString impl_getStringMetaData( const sal_Char* _methodName, const ext_std::string& (sql::DatabaseMetaData::*_Method)() ); 65cdf0e10cSrcweir OUString impl_getStringMetaData( const sal_Char* _methodName, ext_std::string (sql::DatabaseMetaData::*_Method)() ); 66cdf0e10cSrcweir OUString impl_getStringMetaData( const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() ); 67cdf0e10cSrcweir OUString impl_getStringMetaData( const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() ); 68cdf0e10cSrcweir sal_Int32 impl_getInt32MetaData( const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() ); 69cdf0e10cSrcweir sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() ); 70cdf0e10cSrcweir sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg ); 71cdf0e10cSrcweir sal_Bool impl_getRSTypeMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType ); 72cdf0e10cSrcweir 73cdf0e10cSrcweir public: getOwnConnection() const74cdf0e10cSrcweir inline const OConnection& getOwnConnection() const { return m_rConnection; } 75cdf0e10cSrcweir 76cdf0e10cSrcweir ODatabaseMetaData(OConnection& _rCon); 77cdf0e10cSrcweir virtual ~ODatabaseMetaData(); 78cdf0e10cSrcweir 79cdf0e10cSrcweir // as I mentioned before this interface is really BIG 80cdf0e10cSrcweir // XDatabaseMetaData 81cdf0e10cSrcweir sal_Bool SAL_CALL allProceduresAreCallable() throw(my_SQLException, my_RuntimeException); 82cdf0e10cSrcweir sal_Bool SAL_CALL allTablesAreSelectable() throw(my_SQLException, my_RuntimeException); 83cdf0e10cSrcweir OUString SAL_CALL getURL() throw(my_SQLException, my_RuntimeException); 84cdf0e10cSrcweir OUString SAL_CALL getUserName() throw(my_SQLException, my_RuntimeException); 85cdf0e10cSrcweir sal_Bool SAL_CALL isReadOnly() throw(my_SQLException, my_RuntimeException); 86cdf0e10cSrcweir sal_Bool SAL_CALL nullsAreSortedHigh() throw(my_SQLException, my_RuntimeException); 87cdf0e10cSrcweir sal_Bool SAL_CALL nullsAreSortedLow() throw(my_SQLException, my_RuntimeException); 88cdf0e10cSrcweir sal_Bool SAL_CALL nullsAreSortedAtStart() throw(my_SQLException, my_RuntimeException); 89cdf0e10cSrcweir sal_Bool SAL_CALL nullsAreSortedAtEnd() throw(my_SQLException, my_RuntimeException); 90cdf0e10cSrcweir OUString SAL_CALL getDatabaseProductName() throw(my_SQLException, my_RuntimeException); 91cdf0e10cSrcweir OUString SAL_CALL getDatabaseProductVersion() throw(my_SQLException, my_RuntimeException); 92cdf0e10cSrcweir OUString SAL_CALL getDriverName() throw(my_SQLException, my_RuntimeException); 93cdf0e10cSrcweir OUString SAL_CALL getDriverVersion() throw(my_SQLException, my_RuntimeException); 94cdf0e10cSrcweir sal_Int32 SAL_CALL getDriverMajorVersion() throw(my_RuntimeException); 95cdf0e10cSrcweir sal_Int32 SAL_CALL getDriverMinorVersion() throw(my_RuntimeException); 96cdf0e10cSrcweir sal_Bool SAL_CALL usesLocalFiles() throw(my_SQLException, my_RuntimeException); 97cdf0e10cSrcweir sal_Bool SAL_CALL usesLocalFilePerTable() throw(my_SQLException, my_RuntimeException); 98cdf0e10cSrcweir sal_Bool SAL_CALL supportsMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException); 99cdf0e10cSrcweir sal_Bool SAL_CALL storesUpperCaseIdentifiers() throw(my_SQLException, my_RuntimeException); 100cdf0e10cSrcweir sal_Bool SAL_CALL storesLowerCaseIdentifiers() throw(my_SQLException, my_RuntimeException); 101cdf0e10cSrcweir sal_Bool SAL_CALL storesMixedCaseIdentifiers() throw(my_SQLException, my_RuntimeException); 102cdf0e10cSrcweir sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException); 103cdf0e10cSrcweir sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException); 104cdf0e10cSrcweir sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException); 105cdf0e10cSrcweir sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers() throw(my_SQLException, my_RuntimeException); 106cdf0e10cSrcweir OUString SAL_CALL getIdentifierQuoteString() throw(my_SQLException, my_RuntimeException); 107cdf0e10cSrcweir OUString SAL_CALL getSQLKeywords() throw(my_SQLException, my_RuntimeException); 108cdf0e10cSrcweir OUString SAL_CALL getNumericFunctions() throw(my_SQLException, my_RuntimeException); 109cdf0e10cSrcweir OUString SAL_CALL getStringFunctions() throw(my_SQLException, my_RuntimeException); 110cdf0e10cSrcweir OUString SAL_CALL getSystemFunctions() throw(my_SQLException, my_RuntimeException); 111cdf0e10cSrcweir OUString SAL_CALL getTimeDateFunctions() throw(my_SQLException, my_RuntimeException); 112cdf0e10cSrcweir OUString SAL_CALL getSearchStringEscape() throw(my_SQLException, my_RuntimeException); 113cdf0e10cSrcweir OUString SAL_CALL getExtraNameCharacters() throw(my_SQLException, my_RuntimeException); 114cdf0e10cSrcweir sal_Bool SAL_CALL supportsAlterTableWithAddColumn() throw(my_SQLException, my_RuntimeException); 115cdf0e10cSrcweir sal_Bool SAL_CALL supportsAlterTableWithDropColumn() throw(my_SQLException, my_RuntimeException); 116cdf0e10cSrcweir sal_Bool SAL_CALL supportsColumnAliasing() throw(my_SQLException, my_RuntimeException); 117cdf0e10cSrcweir sal_Bool SAL_CALL nullPlusNonNullIsNull() throw(my_SQLException, my_RuntimeException); 118cdf0e10cSrcweir sal_Bool SAL_CALL supportsTypeConversion() throw(my_SQLException, my_RuntimeException); 119cdf0e10cSrcweir sal_Bool SAL_CALL supportsConvert(sal_Int32 fromType, sal_Int32 toType) 120cdf0e10cSrcweir throw(my_SQLException, my_RuntimeException); 121cdf0e10cSrcweir sal_Bool SAL_CALL supportsTableCorrelationNames() throw(my_SQLException, my_RuntimeException); 122cdf0e10cSrcweir sal_Bool SAL_CALL supportsDifferentTableCorrelationNames() throw(my_SQLException, my_RuntimeException); 123cdf0e10cSrcweir sal_Bool SAL_CALL supportsExpressionsInOrderBy() throw(my_SQLException, my_RuntimeException); 124cdf0e10cSrcweir sal_Bool SAL_CALL supportsOrderByUnrelated() throw(my_SQLException, my_RuntimeException); 125cdf0e10cSrcweir sal_Bool SAL_CALL supportsGroupBy() throw(my_SQLException, my_RuntimeException); 126cdf0e10cSrcweir sal_Bool SAL_CALL supportsGroupByUnrelated() throw(my_SQLException, my_RuntimeException); 127cdf0e10cSrcweir sal_Bool SAL_CALL supportsGroupByBeyondSelect() throw(my_SQLException, my_RuntimeException); 128cdf0e10cSrcweir sal_Bool SAL_CALL supportsLikeEscapeClause() throw(my_SQLException, my_RuntimeException); 129cdf0e10cSrcweir sal_Bool SAL_CALL supportsMultipleResultSets() throw(my_SQLException, my_RuntimeException); 130cdf0e10cSrcweir sal_Bool SAL_CALL supportsMultipleTransactions() throw(my_SQLException, my_RuntimeException); 131cdf0e10cSrcweir sal_Bool SAL_CALL supportsNonNullableColumns() throw(my_SQLException, my_RuntimeException); 132cdf0e10cSrcweir sal_Bool SAL_CALL supportsMinimumSQLGrammar() throw(my_SQLException, my_RuntimeException); 133cdf0e10cSrcweir sal_Bool SAL_CALL supportsCoreSQLGrammar() throw(my_SQLException, my_RuntimeException); 134cdf0e10cSrcweir sal_Bool SAL_CALL supportsExtendedSQLGrammar() throw(my_SQLException, my_RuntimeException); 135cdf0e10cSrcweir sal_Bool SAL_CALL supportsANSI92EntryLevelSQL() throw(my_SQLException, my_RuntimeException); 136cdf0e10cSrcweir sal_Bool SAL_CALL supportsANSI92IntermediateSQL() throw(my_SQLException, my_RuntimeException); 137cdf0e10cSrcweir sal_Bool SAL_CALL supportsANSI92FullSQL() throw(my_SQLException, my_RuntimeException); 138cdf0e10cSrcweir sal_Bool SAL_CALL supportsIntegrityEnhancementFacility()throw(my_SQLException, my_RuntimeException); 139cdf0e10cSrcweir sal_Bool SAL_CALL supportsOuterJoins() throw(my_SQLException, my_RuntimeException); 140cdf0e10cSrcweir sal_Bool SAL_CALL supportsFullOuterJoins() throw(my_SQLException, my_RuntimeException); 141cdf0e10cSrcweir sal_Bool SAL_CALL supportsLimitedOuterJoins() throw(my_SQLException, my_RuntimeException); 142cdf0e10cSrcweir OUString SAL_CALL getSchemaTerm() throw(my_SQLException, my_RuntimeException); 143cdf0e10cSrcweir OUString SAL_CALL getProcedureTerm() throw(my_SQLException, my_RuntimeException); 144cdf0e10cSrcweir OUString SAL_CALL getCatalogTerm() throw(my_SQLException, my_RuntimeException); 145cdf0e10cSrcweir sal_Bool SAL_CALL isCatalogAtStart() throw(my_SQLException, my_RuntimeException); 146cdf0e10cSrcweir OUString SAL_CALL getCatalogSeparator() throw(my_SQLException, my_RuntimeException); 147cdf0e10cSrcweir sal_Bool SAL_CALL supportsSchemasInDataManipulation() throw(my_SQLException, my_RuntimeException); 148cdf0e10cSrcweir sal_Bool SAL_CALL supportsSchemasInProcedureCalls() throw(my_SQLException, my_RuntimeException); 149cdf0e10cSrcweir sal_Bool SAL_CALL supportsSchemasInTableDefinitions() throw(my_SQLException, my_RuntimeException); 150cdf0e10cSrcweir sal_Bool SAL_CALL supportsSchemasInIndexDefinitions() throw(my_SQLException, my_RuntimeException); 151cdf0e10cSrcweir sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException); 152cdf0e10cSrcweir sal_Bool SAL_CALL supportsCatalogsInDataManipulation() throw(my_SQLException, my_RuntimeException); 153cdf0e10cSrcweir sal_Bool SAL_CALL supportsCatalogsInProcedureCalls() throw(my_SQLException, my_RuntimeException); 154cdf0e10cSrcweir sal_Bool SAL_CALL supportsCatalogsInTableDefinitions() throw(my_SQLException, my_RuntimeException); 155cdf0e10cSrcweir sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions() throw(my_SQLException, my_RuntimeException); 156cdf0e10cSrcweir sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException); 157cdf0e10cSrcweir sal_Bool SAL_CALL supportsPositionedDelete() throw(my_SQLException, my_RuntimeException); 158cdf0e10cSrcweir sal_Bool SAL_CALL supportsPositionedUpdate() throw(my_SQLException, my_RuntimeException); 159cdf0e10cSrcweir sal_Bool SAL_CALL supportsSelectForUpdate() throw(my_SQLException, my_RuntimeException); 160cdf0e10cSrcweir sal_Bool SAL_CALL supportsStoredProcedures() throw(my_SQLException, my_RuntimeException); 161cdf0e10cSrcweir sal_Bool SAL_CALL supportsSubqueriesInComparisons() throw(my_SQLException, my_RuntimeException); 162cdf0e10cSrcweir sal_Bool SAL_CALL supportsSubqueriesInExists() throw(my_SQLException, my_RuntimeException); 163cdf0e10cSrcweir sal_Bool SAL_CALL supportsSubqueriesInIns() throw(my_SQLException, my_RuntimeException); 164cdf0e10cSrcweir sal_Bool SAL_CALL supportsSubqueriesInQuantifieds() throw(my_SQLException, my_RuntimeException); 165cdf0e10cSrcweir sal_Bool SAL_CALL supportsCorrelatedSubqueries() throw(my_SQLException, my_RuntimeException); 166cdf0e10cSrcweir sal_Bool SAL_CALL supportsUnion() throw(my_SQLException, my_RuntimeException); 167cdf0e10cSrcweir sal_Bool SAL_CALL supportsUnionAll() throw(my_SQLException, my_RuntimeException); 168cdf0e10cSrcweir sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit() throw(my_SQLException, my_RuntimeException); 169cdf0e10cSrcweir sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback() throw(my_SQLException, my_RuntimeException); 170cdf0e10cSrcweir sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit() throw(my_SQLException, my_RuntimeException); 171cdf0e10cSrcweir sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback() throw(my_SQLException, my_RuntimeException); 172cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxBinaryLiteralLength() throw(my_SQLException, my_RuntimeException); 173cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxCharLiteralLength() throw(my_SQLException, my_RuntimeException); 174cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnNameLength() throw(my_SQLException, my_RuntimeException); 175cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnsInGroupBy() throw(my_SQLException, my_RuntimeException); 176cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnsInIndex() throw(my_SQLException, my_RuntimeException); 177cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnsInOrderBy() throw(my_SQLException, my_RuntimeException); 178cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnsInSelect() throw(my_SQLException, my_RuntimeException); 179cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxColumnsInTable() throw(my_SQLException, my_RuntimeException); 180cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxConnections() throw(my_SQLException, my_RuntimeException); 181cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxCursorNameLength() throw(my_SQLException, my_RuntimeException); 182cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxIndexLength() throw(my_SQLException, my_RuntimeException); 183cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxSchemaNameLength() throw(my_SQLException, my_RuntimeException); 184cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxProcedureNameLength() throw(my_SQLException, my_RuntimeException); 185cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxCatalogNameLength() throw(my_SQLException, my_RuntimeException); 186cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxRowSize() throw(my_SQLException, my_RuntimeException); 187cdf0e10cSrcweir sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs() throw(my_SQLException, my_RuntimeException); 188cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxStatementLength() throw(my_SQLException, my_RuntimeException); 189cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxStatements() throw(my_SQLException, my_RuntimeException); 190cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxTableNameLength() throw(my_SQLException, my_RuntimeException); 191cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxTablesInSelect() throw(my_SQLException, my_RuntimeException); 192cdf0e10cSrcweir sal_Int32 SAL_CALL getMaxUserNameLength() throw(my_SQLException, my_RuntimeException); 193cdf0e10cSrcweir sal_Int32 SAL_CALL getDefaultTransactionIsolation() throw(my_SQLException, my_RuntimeException); 194cdf0e10cSrcweir sal_Bool SAL_CALL supportsTransactions() throw(my_SQLException, my_RuntimeException); 195cdf0e10cSrcweir sal_Bool SAL_CALL supportsTransactionIsolationLevel(sal_Int32 level) 196cdf0e10cSrcweir throw(my_SQLException, my_RuntimeException); 197cdf0e10cSrcweir sal_Bool SAL_CALL supportsDataDefinitionAndDataManipulationTransactions() 198cdf0e10cSrcweir throw(my_SQLException, my_RuntimeException); 199cdf0e10cSrcweir sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly()throw(my_SQLException, my_RuntimeException); 200cdf0e10cSrcweir sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit() throw(my_SQLException, my_RuntimeException); 201cdf0e10cSrcweir sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions() throw(my_SQLException, my_RuntimeException); 202cdf0e10cSrcweir my_XResultSetRef SAL_CALL getProcedures(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern) throw(my_SQLException, my_RuntimeException); 203cdf0e10cSrcweir my_XResultSetRef SAL_CALL getProcedureColumns(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException); 204cdf0e10cSrcweir my_XResultSetRef SAL_CALL getTables(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< OUString >& types) throw(my_SQLException, my_RuntimeException); 205cdf0e10cSrcweir my_XResultSetRef SAL_CALL getSchemas() throw(my_SQLException, my_RuntimeException); 206cdf0e10cSrcweir my_XResultSetRef SAL_CALL getCatalogs() throw(my_SQLException, my_RuntimeException); 207cdf0e10cSrcweir my_XResultSetRef SAL_CALL getTableTypes() throw(my_SQLException, my_RuntimeException); 208cdf0e10cSrcweir my_XResultSetRef SAL_CALL getColumns(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException); 209cdf0e10cSrcweir my_XResultSetRef SAL_CALL getColumnPrivileges(const Any& catalog, const OUString& schema, const OUString& table, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException); 210cdf0e10cSrcweir my_XResultSetRef SAL_CALL getTablePrivileges(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern) throw(my_SQLException, my_RuntimeException); 211cdf0e10cSrcweir my_XResultSetRef SAL_CALL getBestRowIdentifier(const Any& catalog, const OUString& schema, const OUString& table, sal_Int32 scope, sal_Bool nullable) throw(my_SQLException, my_RuntimeException); 212cdf0e10cSrcweir my_XResultSetRef SAL_CALL getVersionColumns(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException); 213cdf0e10cSrcweir my_XResultSetRef SAL_CALL getPrimaryKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException); 214cdf0e10cSrcweir my_XResultSetRef SAL_CALL getImportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException); 215cdf0e10cSrcweir my_XResultSetRef SAL_CALL getExportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException); 216cdf0e10cSrcweir my_XResultSetRef SAL_CALL getCrossReference(const Any& primaryCatalog, const OUString& primarySchema, const OUString& primaryTable, const Any& foreignCatalog, const OUString& foreignSchema, const OUString& foreignTable) throw(my_SQLException, my_RuntimeException); 217cdf0e10cSrcweir my_XResultSetRef SAL_CALL getTypeInfo() throw(my_SQLException, my_RuntimeException); 218cdf0e10cSrcweir my_XResultSetRef SAL_CALL getIndexInfo(const Any& catalog, const OUString& schema, const OUString& table, sal_Bool unique, sal_Bool approximate) throw(my_SQLException, my_RuntimeException); 219cdf0e10cSrcweir sal_Bool SAL_CALL supportsResultSetType(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 220cdf0e10cSrcweir sal_Bool SAL_CALL supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency) throw(my_SQLException, my_RuntimeException); 221cdf0e10cSrcweir sal_Bool SAL_CALL ownUpdatesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 222cdf0e10cSrcweir sal_Bool SAL_CALL ownDeletesAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 223cdf0e10cSrcweir sal_Bool SAL_CALL ownInsertsAreVisible(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 224cdf0e10cSrcweir sal_Bool SAL_CALL othersUpdatesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException); 225cdf0e10cSrcweir sal_Bool SAL_CALL othersDeletesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException); 226cdf0e10cSrcweir sal_Bool SAL_CALL othersInsertsAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException); 227cdf0e10cSrcweir sal_Bool SAL_CALL updatesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 228cdf0e10cSrcweir sal_Bool SAL_CALL deletesAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 229cdf0e10cSrcweir sal_Bool SAL_CALL insertsAreDetected(sal_Int32 setType) throw(my_SQLException, my_RuntimeException); 230cdf0e10cSrcweir sal_Bool SAL_CALL supportsBatchUpdates() throw(my_SQLException, my_RuntimeException); 231cdf0e10cSrcweir my_XResultSetRef SAL_CALL getUDTs(const Any& catalog, const OUString& schemaPattern, const OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types) throw(my_SQLException, my_RuntimeException); 232cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(my_SQLException, my_RuntimeException); 233cdf0e10cSrcweir }; 234cdf0e10cSrcweir } 235cdf0e10cSrcweir } 236cdf0e10cSrcweir 237cdf0e10cSrcweir #endif // CONNECTIVITY_SDATABASEMETADATA_HXX 238