1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3*cdf0e10cSrcweir *
4*cdf0e10cSrcweir * Copyright 2008 by Sun Microsystems, Inc.
5*cdf0e10cSrcweir *
6*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
7*cdf0e10cSrcweir *
8*cdf0e10cSrcweir * $RCSfile: mysqlc_databasemetadata.hxx,v $
9*cdf0e10cSrcweir *
10*cdf0e10cSrcweir * $Revision: 1.1.2.3 $
11*cdf0e10cSrcweir *
12*cdf0e10cSrcweir * This file is part of OpenOffice.org.
13*cdf0e10cSrcweir *
14*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
15*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
16*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
17*cdf0e10cSrcweir *
18*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
19*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
20*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
22*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
23*cdf0e10cSrcweir *
24*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
25*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
26*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
27*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
28*cdf0e10cSrcweir ************************************************************************/
29*cdf0e10cSrcweir 
30*cdf0e10cSrcweir #ifndef CONNECTIVITY_SDATABASEMETADATA_HXX
31*cdf0e10cSrcweir #define CONNECTIVITY_SDATABASEMETADATA_HXX
32*cdf0e10cSrcweir 
33*cdf0e10cSrcweir #include "mysqlc_connection.hxx"
34*cdf0e10cSrcweir 
35*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XDATABASEMETADATA_HPP_
36*cdf0e10cSrcweir #include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
37*cdf0e10cSrcweir #endif
38*cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE1_HXX_
39*cdf0e10cSrcweir #include <cppuhelper/implbase1.hxx>
40*cdf0e10cSrcweir #endif
41*cdf0e10cSrcweir 
42*cdf0e10cSrcweir #include <preextstl.h>
43*cdf0e10cSrcweir #include <cppconn/metadata.h>
44*cdf0e10cSrcweir #include <postextstl.h>
45*cdf0e10cSrcweir 
46*cdf0e10cSrcweir namespace connectivity
47*cdf0e10cSrcweir {
48*cdf0e10cSrcweir 	namespace mysqlc
49*cdf0e10cSrcweir 	{
50*cdf0e10cSrcweir 		typedef ::com::sun::star::sdbc::SQLException my_SQLException;
51*cdf0e10cSrcweir 		typedef ::com::sun::star::uno::RuntimeException my_RuntimeException;
52*cdf0e10cSrcweir 		typedef ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > my_XResultSetRef;
53*cdf0e10cSrcweir 		using ::com::sun::star::uno::Any;
54*cdf0e10cSrcweir 		using ::rtl::OUString;
55*cdf0e10cSrcweir 
56*cdf0e10cSrcweir 		//**************************************************************
57*cdf0e10cSrcweir 		//************ Class: ODatabaseMetaData
58*cdf0e10cSrcweir 		//**************************************************************
59*cdf0e10cSrcweir 
60*cdf0e10cSrcweir 		typedef ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XDatabaseMetaData> ODatabaseMetaData_BASE;
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir         class ODatabaseMetaData : public ODatabaseMetaData_BASE
63*cdf0e10cSrcweir 		{
64*cdf0e10cSrcweir 			OConnection&	m_rConnection;
65*cdf0e10cSrcweir 			sal_Bool		m_bUseCatalog;
66*cdf0e10cSrcweir 		protected:
67*cdf0e10cSrcweir 			sql::DatabaseMetaData * meta;
68*cdf0e10cSrcweir 			OUString		identifier_quote_string;
69*cdf0e10cSrcweir 			bool			identifier_quote_string_set;
70*cdf0e10cSrcweir 
71*cdf0e10cSrcweir         private:
72*cdf0e10cSrcweir             OUString impl_getStringMetaData( const sal_Char* _methodName, const ext_std::string& (sql::DatabaseMetaData::*_Method)() );
73*cdf0e10cSrcweir             OUString impl_getStringMetaData( const sal_Char* _methodName, ext_std::string (sql::DatabaseMetaData::*_Method)() );
74*cdf0e10cSrcweir             OUString impl_getStringMetaData( const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() );
75*cdf0e10cSrcweir             OUString impl_getStringMetaData( const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() );
76*cdf0e10cSrcweir             sal_Int32 impl_getInt32MetaData( const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() );
77*cdf0e10cSrcweir             sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() );
78*cdf0e10cSrcweir             sal_Bool impl_getBoolMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg );
79*cdf0e10cSrcweir             sal_Bool impl_getRSTypeMetaData( const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType );
80*cdf0e10cSrcweir 
81*cdf0e10cSrcweir         public:
82*cdf0e10cSrcweir 			inline const OConnection& getOwnConnection() const { return m_rConnection; }
83*cdf0e10cSrcweir 
84*cdf0e10cSrcweir 			ODatabaseMetaData(OConnection& _rCon);
85*cdf0e10cSrcweir 			virtual ~ODatabaseMetaData();
86*cdf0e10cSrcweir 
87*cdf0e10cSrcweir 			// as I mentioned before this interface is really BIG
88*cdf0e10cSrcweir 			// XDatabaseMetaData
89*cdf0e10cSrcweir             sal_Bool SAL_CALL allProceduresAreCallable()			throw(my_SQLException, my_RuntimeException);
90*cdf0e10cSrcweir             sal_Bool SAL_CALL allTablesAreSelectable()				throw(my_SQLException, my_RuntimeException);
91*cdf0e10cSrcweir             OUString SAL_CALL getURL()						throw(my_SQLException, my_RuntimeException);
92*cdf0e10cSrcweir             OUString SAL_CALL getUserName()					throw(my_SQLException, my_RuntimeException);
93*cdf0e10cSrcweir             sal_Bool SAL_CALL isReadOnly()							throw(my_SQLException, my_RuntimeException);
94*cdf0e10cSrcweir             sal_Bool SAL_CALL nullsAreSortedHigh()					throw(my_SQLException, my_RuntimeException);
95*cdf0e10cSrcweir             sal_Bool SAL_CALL nullsAreSortedLow()					throw(my_SQLException, my_RuntimeException);
96*cdf0e10cSrcweir             sal_Bool SAL_CALL nullsAreSortedAtStart()				throw(my_SQLException, my_RuntimeException);
97*cdf0e10cSrcweir             sal_Bool SAL_CALL nullsAreSortedAtEnd()					throw(my_SQLException, my_RuntimeException);
98*cdf0e10cSrcweir             OUString SAL_CALL getDatabaseProductName()		throw(my_SQLException, my_RuntimeException);
99*cdf0e10cSrcweir             OUString SAL_CALL getDatabaseProductVersion()	throw(my_SQLException, my_RuntimeException);
100*cdf0e10cSrcweir             OUString SAL_CALL getDriverName()				throw(my_SQLException, my_RuntimeException);
101*cdf0e10cSrcweir             OUString SAL_CALL getDriverVersion()				throw(my_SQLException, my_RuntimeException);
102*cdf0e10cSrcweir             sal_Int32 SAL_CALL getDriverMajorVersion()				throw(my_RuntimeException);
103*cdf0e10cSrcweir             sal_Int32 SAL_CALL getDriverMinorVersion()				throw(my_RuntimeException);
104*cdf0e10cSrcweir             sal_Bool SAL_CALL usesLocalFiles()						throw(my_SQLException, my_RuntimeException);
105*cdf0e10cSrcweir             sal_Bool SAL_CALL usesLocalFilePerTable()				throw(my_SQLException, my_RuntimeException);
106*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsMixedCaseIdentifiers()		throw(my_SQLException, my_RuntimeException);
107*cdf0e10cSrcweir             sal_Bool SAL_CALL storesUpperCaseIdentifiers()			throw(my_SQLException, my_RuntimeException);
108*cdf0e10cSrcweir             sal_Bool SAL_CALL storesLowerCaseIdentifiers()			throw(my_SQLException, my_RuntimeException);
109*cdf0e10cSrcweir             sal_Bool SAL_CALL storesMixedCaseIdentifiers()			throw(my_SQLException, my_RuntimeException);
110*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers()	throw(my_SQLException, my_RuntimeException);
111*cdf0e10cSrcweir             sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers()	throw(my_SQLException, my_RuntimeException);
112*cdf0e10cSrcweir             sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers()	throw(my_SQLException, my_RuntimeException);
113*cdf0e10cSrcweir             sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers()	throw(my_SQLException, my_RuntimeException);
114*cdf0e10cSrcweir             OUString SAL_CALL getIdentifierQuoteString() 	throw(my_SQLException, my_RuntimeException);
115*cdf0e10cSrcweir             OUString SAL_CALL getSQLKeywords()				throw(my_SQLException, my_RuntimeException);
116*cdf0e10cSrcweir             OUString SAL_CALL getNumericFunctions()			throw(my_SQLException, my_RuntimeException);
117*cdf0e10cSrcweir             OUString SAL_CALL getStringFunctions()			throw(my_SQLException, my_RuntimeException);
118*cdf0e10cSrcweir             OUString SAL_CALL getSystemFunctions()			throw(my_SQLException, my_RuntimeException);
119*cdf0e10cSrcweir             OUString SAL_CALL getTimeDateFunctions()			throw(my_SQLException, my_RuntimeException);
120*cdf0e10cSrcweir             OUString SAL_CALL getSearchStringEscape()		throw(my_SQLException, my_RuntimeException);
121*cdf0e10cSrcweir             OUString SAL_CALL getExtraNameCharacters()		throw(my_SQLException, my_RuntimeException);
122*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsAlterTableWithAddColumn()		throw(my_SQLException, my_RuntimeException);
123*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsAlterTableWithDropColumn()	throw(my_SQLException, my_RuntimeException);
124*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsColumnAliasing()				throw(my_SQLException, my_RuntimeException);
125*cdf0e10cSrcweir             sal_Bool SAL_CALL nullPlusNonNullIsNull()				throw(my_SQLException, my_RuntimeException);
126*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsTypeConversion()				throw(my_SQLException, my_RuntimeException);
127*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsConvert(sal_Int32 fromType, sal_Int32 toType)
128*cdf0e10cSrcweir 																	throw(my_SQLException, my_RuntimeException);
129*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsTableCorrelationNames()		throw(my_SQLException, my_RuntimeException);
130*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsDifferentTableCorrelationNames() throw(my_SQLException, my_RuntimeException);
131*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsExpressionsInOrderBy()		throw(my_SQLException, my_RuntimeException);
132*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOrderByUnrelated()			throw(my_SQLException, my_RuntimeException);
133*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsGroupBy()						throw(my_SQLException, my_RuntimeException);
134*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsGroupByUnrelated()			throw(my_SQLException, my_RuntimeException);
135*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsGroupByBeyondSelect()			throw(my_SQLException, my_RuntimeException);
136*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsLikeEscapeClause()			throw(my_SQLException, my_RuntimeException);
137*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsMultipleResultSets()			throw(my_SQLException, my_RuntimeException);
138*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsMultipleTransactions()		throw(my_SQLException, my_RuntimeException);
139*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsNonNullableColumns()			throw(my_SQLException, my_RuntimeException);
140*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsMinimumSQLGrammar()			throw(my_SQLException, my_RuntimeException);
141*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCoreSQLGrammar()				throw(my_SQLException, my_RuntimeException);
142*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsExtendedSQLGrammar()			throw(my_SQLException, my_RuntimeException);
143*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsANSI92EntryLevelSQL()			throw(my_SQLException, my_RuntimeException);
144*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsANSI92IntermediateSQL()		throw(my_SQLException, my_RuntimeException);
145*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsANSI92FullSQL()				throw(my_SQLException, my_RuntimeException);
146*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsIntegrityEnhancementFacility()throw(my_SQLException, my_RuntimeException);
147*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOuterJoins()					throw(my_SQLException, my_RuntimeException);
148*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsFullOuterJoins()				throw(my_SQLException, my_RuntimeException);
149*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsLimitedOuterJoins()			throw(my_SQLException, my_RuntimeException);
150*cdf0e10cSrcweir             OUString SAL_CALL getSchemaTerm()				throw(my_SQLException, my_RuntimeException);
151*cdf0e10cSrcweir             OUString SAL_CALL getProcedureTerm()				throw(my_SQLException, my_RuntimeException);
152*cdf0e10cSrcweir             OUString SAL_CALL getCatalogTerm()				throw(my_SQLException, my_RuntimeException);
153*cdf0e10cSrcweir             sal_Bool SAL_CALL isCatalogAtStart()					throw(my_SQLException, my_RuntimeException);
154*cdf0e10cSrcweir             OUString SAL_CALL getCatalogSeparator()			throw(my_SQLException, my_RuntimeException);
155*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSchemasInDataManipulation()	throw(my_SQLException, my_RuntimeException);
156*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSchemasInProcedureCalls()		throw(my_SQLException, my_RuntimeException);
157*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSchemasInTableDefinitions()	throw(my_SQLException, my_RuntimeException);
158*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSchemasInIndexDefinitions()	throw(my_SQLException, my_RuntimeException);
159*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException);
160*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCatalogsInDataManipulation()	throw(my_SQLException, my_RuntimeException);
161*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCatalogsInProcedureCalls()	throw(my_SQLException, my_RuntimeException);
162*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCatalogsInTableDefinitions()	throw(my_SQLException, my_RuntimeException);
163*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions()	throw(my_SQLException, my_RuntimeException);
164*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions() throw(my_SQLException, my_RuntimeException);
165*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsPositionedDelete()			throw(my_SQLException, my_RuntimeException);
166*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsPositionedUpdate()			throw(my_SQLException, my_RuntimeException);
167*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSelectForUpdate()				throw(my_SQLException, my_RuntimeException);
168*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsStoredProcedures()			throw(my_SQLException, my_RuntimeException);
169*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSubqueriesInComparisons()		throw(my_SQLException, my_RuntimeException);
170*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSubqueriesInExists()			throw(my_SQLException, my_RuntimeException);
171*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSubqueriesInIns()				throw(my_SQLException, my_RuntimeException);
172*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsSubqueriesInQuantifieds()		throw(my_SQLException, my_RuntimeException);
173*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsCorrelatedSubqueries()		throw(my_SQLException, my_RuntimeException);
174*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsUnion()						throw(my_SQLException, my_RuntimeException);
175*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsUnionAll()					throw(my_SQLException, my_RuntimeException);
176*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit()		throw(my_SQLException, my_RuntimeException);
177*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback()	throw(my_SQLException, my_RuntimeException);
178*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit()	throw(my_SQLException, my_RuntimeException);
179*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback() throw(my_SQLException, my_RuntimeException);
180*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxBinaryLiteralLength()			throw(my_SQLException, my_RuntimeException);
181*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxCharLiteralLength()			throw(my_SQLException, my_RuntimeException);
182*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnNameLength()				throw(my_SQLException, my_RuntimeException);
183*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnsInGroupBy()				throw(my_SQLException, my_RuntimeException);
184*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnsInIndex()				throw(my_SQLException, my_RuntimeException);
185*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnsInOrderBy()				throw(my_SQLException, my_RuntimeException);
186*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnsInSelect()				throw(my_SQLException, my_RuntimeException);
187*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxColumnsInTable()				throw(my_SQLException, my_RuntimeException);
188*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxConnections()					throw(my_SQLException, my_RuntimeException);
189*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxCursorNameLength()				throw(my_SQLException, my_RuntimeException);
190*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxIndexLength()					throw(my_SQLException, my_RuntimeException);
191*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxSchemaNameLength()				throw(my_SQLException, my_RuntimeException);
192*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxProcedureNameLength()			throw(my_SQLException, my_RuntimeException);
193*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxCatalogNameLength()			throw(my_SQLException, my_RuntimeException);
194*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxRowSize()						throw(my_SQLException, my_RuntimeException);
195*cdf0e10cSrcweir             sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs()			throw(my_SQLException, my_RuntimeException);
196*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxStatementLength()				throw(my_SQLException, my_RuntimeException);
197*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxStatements()					throw(my_SQLException, my_RuntimeException);
198*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxTableNameLength()				throw(my_SQLException, my_RuntimeException);
199*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxTablesInSelect()				throw(my_SQLException, my_RuntimeException);
200*cdf0e10cSrcweir             sal_Int32 SAL_CALL getMaxUserNameLength()				throw(my_SQLException, my_RuntimeException);
201*cdf0e10cSrcweir             sal_Int32 SAL_CALL getDefaultTransactionIsolation()		throw(my_SQLException, my_RuntimeException);
202*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsTransactions()				throw(my_SQLException, my_RuntimeException);
203*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsTransactionIsolationLevel(sal_Int32 level)
204*cdf0e10cSrcweir 																	throw(my_SQLException, my_RuntimeException);
205*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsDataDefinitionAndDataManipulationTransactions()
206*cdf0e10cSrcweir 																	throw(my_SQLException, my_RuntimeException);
207*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly()throw(my_SQLException, my_RuntimeException);
208*cdf0e10cSrcweir             sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit()	throw(my_SQLException, my_RuntimeException);
209*cdf0e10cSrcweir             sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions()		throw(my_SQLException, my_RuntimeException);
210*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getProcedures(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern) throw(my_SQLException, my_RuntimeException);
211*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getProcedureColumns(const Any& catalog, const OUString& schemaPattern, const OUString& procedureNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
212*cdf0e10cSrcweir             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);
213*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getSchemas() throw(my_SQLException, my_RuntimeException);
214*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getCatalogs() throw(my_SQLException, my_RuntimeException);
215*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getTableTypes() throw(my_SQLException, my_RuntimeException);
216*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getColumns(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
217*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getColumnPrivileges(const Any& catalog, const OUString& schema, const OUString& table, const OUString& columnNamePattern) throw(my_SQLException, my_RuntimeException);
218*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getTablePrivileges(const Any& catalog, const OUString& schemaPattern, const OUString& tableNamePattern) throw(my_SQLException, my_RuntimeException);
219*cdf0e10cSrcweir             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);
220*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getVersionColumns(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
221*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getPrimaryKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
222*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getImportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
223*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getExportedKeys(const Any& catalog, const OUString& schema, const OUString& table) throw(my_SQLException, my_RuntimeException);
224*cdf0e10cSrcweir             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);
225*cdf0e10cSrcweir             my_XResultSetRef SAL_CALL getTypeInfo() throw(my_SQLException, my_RuntimeException);
226*cdf0e10cSrcweir             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);
227*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsResultSetType(sal_Int32 setType) throw(my_SQLException, my_RuntimeException);
228*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency) throw(my_SQLException, my_RuntimeException);
229*cdf0e10cSrcweir             sal_Bool SAL_CALL ownUpdatesAreVisible(sal_Int32 setType)	throw(my_SQLException, my_RuntimeException);
230*cdf0e10cSrcweir             sal_Bool SAL_CALL ownDeletesAreVisible(sal_Int32 setType)	throw(my_SQLException, my_RuntimeException);
231*cdf0e10cSrcweir             sal_Bool SAL_CALL ownInsertsAreVisible(sal_Int32 setType)	throw(my_SQLException, my_RuntimeException);
232*cdf0e10cSrcweir             sal_Bool SAL_CALL othersUpdatesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
233*cdf0e10cSrcweir             sal_Bool SAL_CALL othersDeletesAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
234*cdf0e10cSrcweir             sal_Bool SAL_CALL othersInsertsAreVisible(sal_Int32 setType)throw(my_SQLException, my_RuntimeException);
235*cdf0e10cSrcweir             sal_Bool SAL_CALL updatesAreDetected(sal_Int32 setType)		throw(my_SQLException, my_RuntimeException);
236*cdf0e10cSrcweir             sal_Bool SAL_CALL deletesAreDetected(sal_Int32 setType)		throw(my_SQLException, my_RuntimeException);
237*cdf0e10cSrcweir             sal_Bool SAL_CALL insertsAreDetected(sal_Int32 setType)		throw(my_SQLException, my_RuntimeException);
238*cdf0e10cSrcweir             sal_Bool SAL_CALL supportsBatchUpdates() throw(my_SQLException, my_RuntimeException);
239*cdf0e10cSrcweir             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);
240*cdf0e10cSrcweir             ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection() throw(my_SQLException, my_RuntimeException);
241*cdf0e10cSrcweir 		};
242*cdf0e10cSrcweir 	}
243*cdf0e10cSrcweir }
244*cdf0e10cSrcweir 
245*cdf0e10cSrcweir #endif // CONNECTIVITY_SDATABASEMETADATA_HXX
246