xref: /trunk/main/connectivity/source/inc/odbc/ODatabaseMetaDataResultSet.hxx (revision 914d351e5f5b84e4342a86d6ab8d4aca7308b9bd)
1caf5cd79SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3caf5cd79SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4caf5cd79SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5caf5cd79SAndrew Rist  * distributed with this work for additional information
6caf5cd79SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7caf5cd79SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8caf5cd79SAndrew Rist  * "License"); you may not use this file except in compliance
9caf5cd79SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11caf5cd79SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13caf5cd79SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14caf5cd79SAndrew Rist  * software distributed under the License is distributed on an
15caf5cd79SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16caf5cd79SAndrew Rist  * KIND, either express or implied.  See the License for the
17caf5cd79SAndrew Rist  * specific language governing permissions and limitations
18caf5cd79SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20caf5cd79SAndrew Rist  *************************************************************/
21caf5cd79SAndrew Rist 
22caf5cd79SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _CONNECTIVITY_ODBC_ADATABASEMETADATARESULTSET_HXX_
25cdf0e10cSrcweir #define _CONNECTIVITY_ODBC_ADATABASEMETADATARESULTSET_HXX_
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSet.hpp>
28cdf0e10cSrcweir #include <com/sun/star/sdbc/XRow.hpp>
29cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
30cdf0e10cSrcweir #include <com/sun/star/sdbc/XCloseable.hpp>
31cdf0e10cSrcweir #include <com/sun/star/sdbc/XColumnLocate.hpp>
32cdf0e10cSrcweir #include <com/sun/star/util/XCancellable.hpp>
33cdf0e10cSrcweir #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
34cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetUpdate.hpp>
35cdf0e10cSrcweir #include <com/sun/star/sdbc/XRowUpdate.hpp>
36cdf0e10cSrcweir #include <cppuhelper/compbase7.hxx>
37cdf0e10cSrcweir #include <comphelper/proparrhlp.hxx>
38cdf0e10cSrcweir #include "odbc/OStatement.hxx"
39cdf0e10cSrcweir #include "odbc/ODatabaseMetaData.hxx"
40cdf0e10cSrcweir #include "odbc/odbcbasedllapi.hxx"
41cdf0e10cSrcweir #include <comphelper/broadcasthelper.hxx>
42cdf0e10cSrcweir #include "connectivity/StdTypeDefs.hxx"
43cdf0e10cSrcweir 
44cdf0e10cSrcweir namespace connectivity
45cdf0e10cSrcweir {
46cdf0e10cSrcweir     namespace odbc
47cdf0e10cSrcweir     {
48cdf0e10cSrcweir         class ODatabaseMetaDataResultSetMetaData;
49cdf0e10cSrcweir         /*
50cdf0e10cSrcweir         **  java_sql_ResultSet
51cdf0e10cSrcweir         */
52cdf0e10cSrcweir         typedef ::cppu::WeakComponentImplHelper7<   ::com::sun::star::sdbc::XResultSet,
53cdf0e10cSrcweir                                                     ::com::sun::star::sdbc::XRow,
54cdf0e10cSrcweir                                                     ::com::sun::star::sdbc::XResultSetMetaDataSupplier,
55cdf0e10cSrcweir                                                     ::com::sun::star::util::XCancellable,
56cdf0e10cSrcweir                                                     ::com::sun::star::sdbc::XWarningsSupplier,
57cdf0e10cSrcweir                                                     ::com::sun::star::sdbc::XCloseable,
58cdf0e10cSrcweir                                                     ::com::sun::star::sdbc::XColumnLocate> ODatabaseMetaDataResultSet_BASE;
59cdf0e10cSrcweir 
60cdf0e10cSrcweir         class OOO_DLLPUBLIC_ODBCBASE ODatabaseMetaDataResultSet :
61cdf0e10cSrcweir                                     public comphelper::OBaseMutex,
62cdf0e10cSrcweir                                     public  ODatabaseMetaDataResultSet_BASE,
63cdf0e10cSrcweir                                     public  ::cppu::OPropertySetHelper,
64cdf0e10cSrcweir                                     public  ::comphelper::OPropertyArrayUsageHelper<ODatabaseMetaDataResultSet>
65cdf0e10cSrcweir         {
66cdf0e10cSrcweir             ::connectivity::TIntVector                      m_aColMapping; // pos 0 is unused so we don't have to decrement 1 every time
67cdf0e10cSrcweir 
68cdf0e10cSrcweir             ::std::map<sal_Int32, ::connectivity::TInt2IntMap >                 m_aValueRange;
69cdf0e10cSrcweir             ::std::map<sal_Int32, ::connectivity::TString2IntMap >              m_aStrValueRange;
70cdf0e10cSrcweir 
71cdf0e10cSrcweir             ::std::map<sal_Int32, ::connectivity::TInt2StringMap >              m_aIntValueRange;
72cdf0e10cSrcweir             ::std::map<sal_Int32,SWORD>                                         m_aODBCColumnTypes;
73cdf0e10cSrcweir 
74cdf0e10cSrcweir             SQLHANDLE                                                                   m_aStatementHandle;
75cdf0e10cSrcweir             SQLHANDLE                                                                   m_aConnectionHandle;
76cdf0e10cSrcweir             ::com::sun::star::uno::WeakReferenceHelper                                  m_aStatement;
77cdf0e10cSrcweir             ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData>        m_xMetaData;
78cdf0e10cSrcweir             SQLUSMALLINT*                               m_pRowStatusArray;
79cdf0e10cSrcweir             OConnection*                                m_pConnection;
80cdf0e10cSrcweir             rtl_TextEncoding                            m_nTextEncoding;
81cdf0e10cSrcweir             sal_Int32                                   m_nRowPos;
82cdf0e10cSrcweir             sal_Int32                                   m_nLastColumnPos;       // used for m_aRow just to know where we are
83*30acf5e8Spfg             sal_Int32                                   m_nDriverColumnCount;   // column count of the driver which can sometimes be less than the metadata count
84cdf0e10cSrcweir             SQLRETURN                                   m_nCurrentFetchState;
85cdf0e10cSrcweir             sal_Bool                                    m_bWasNull;
86cdf0e10cSrcweir             sal_Bool                                    m_bEOF;                 // after last record
87cdf0e10cSrcweir             sal_Bool                                    m_bFreeHandle;
88cdf0e10cSrcweir 
89cdf0e10cSrcweir             // set the columncount of the driver
90cdf0e10cSrcweir             void checkColumnCount();
91cdf0e10cSrcweir             sal_Int32 getResultSetConcurrency() const throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
92cdf0e10cSrcweir             sal_Int32 getResultSetType()        const throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
93cdf0e10cSrcweir             sal_Int32 getFetchDirection()       const throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
94cdf0e10cSrcweir             sal_Int32 getFetchSize()            const throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
95cdf0e10cSrcweir             ::rtl::OUString getCursorName()     const throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
96cdf0e10cSrcweir             SWORD                               impl_getColumnType_nothrow(sal_Int32 columnIndex);
97cdf0e10cSrcweir 
98cdf0e10cSrcweir             sal_Int32 mapColumn (sal_Int32  column);
99cdf0e10cSrcweir 
100cdf0e10cSrcweir         protected:
101cdf0e10cSrcweir 
102cdf0e10cSrcweir             // OPropertyArrayUsageHelper
103cdf0e10cSrcweir             virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
104cdf0e10cSrcweir             // OPropertySetHelper
105cdf0e10cSrcweir             virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper();
106cdf0e10cSrcweir 
107cdf0e10cSrcweir             virtual sal_Bool SAL_CALL convertFastPropertyValue(
108cdf0e10cSrcweir                                                                 ::com::sun::star::uno::Any & rConvertedValue,
109cdf0e10cSrcweir                                                                 ::com::sun::star::uno::Any & rOldValue,
110cdf0e10cSrcweir                                 sal_Int32 nHandle,
111cdf0e10cSrcweir                                                                 const ::com::sun::star::uno::Any& rValue )
112cdf0e10cSrcweir                                     throw (::com::sun::star::lang::IllegalArgumentException);
113cdf0e10cSrcweir             virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
114cdf0e10cSrcweir                                     sal_Int32 nHandle,
115cdf0e10cSrcweir                                                                         const ::com::sun::star::uno::Any& rValue
116cdf0e10cSrcweir                                                      )
117cdf0e10cSrcweir                                                                                                          throw (::com::sun::star::uno::Exception);
118cdf0e10cSrcweir             virtual void SAL_CALL getFastPropertyValue(
119cdf0e10cSrcweir                                                                         ::com::sun::star::uno::Any& rValue,
120cdf0e10cSrcweir                                     sal_Int32 nHandle
121cdf0e10cSrcweir                                          ) const;
122cdf0e10cSrcweir             ~ODatabaseMetaDataResultSet();
123cdf0e10cSrcweir         public:
124cdf0e10cSrcweir             // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
125cdf0e10cSrcweir             ODatabaseMetaDataResultSet(OConnection* _pConnection);
126cdf0e10cSrcweir 
127cdf0e10cSrcweir 
getOdbcFunction(sal_Int32 _nIndex) const128cdf0e10cSrcweir             inline oslGenericFunction getOdbcFunction(sal_Int32 _nIndex)  const
129cdf0e10cSrcweir             {
130cdf0e10cSrcweir                 return m_pConnection->getOdbcFunction(_nIndex);
131cdf0e10cSrcweir             }
132cdf0e10cSrcweir             // ::cppu::OComponentHelper
133cdf0e10cSrcweir             virtual void SAL_CALL disposing(void);
134cdf0e10cSrcweir             // XInterface
135cdf0e10cSrcweir             virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
136cdf0e10cSrcweir             virtual void SAL_CALL acquire() throw();
137cdf0e10cSrcweir             virtual void SAL_CALL release() throw();
138cdf0e10cSrcweir             //XTypeProvider
139cdf0e10cSrcweir             virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException);
140cdf0e10cSrcweir             // XPropertySet
141cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
operator *()142cdf0e10cSrcweir             ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > operator *()
143cdf0e10cSrcweir             {
144cdf0e10cSrcweir                 return ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >(*(ODatabaseMetaDataResultSet_BASE*)this);
145cdf0e10cSrcweir             }
146cdf0e10cSrcweir             // XResultSet
147cdf0e10cSrcweir             virtual sal_Bool SAL_CALL next(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
148cdf0e10cSrcweir             virtual sal_Bool SAL_CALL isBeforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
149cdf0e10cSrcweir             virtual sal_Bool SAL_CALL isAfterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
150cdf0e10cSrcweir             virtual sal_Bool SAL_CALL isFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
151cdf0e10cSrcweir             virtual sal_Bool SAL_CALL isLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
152cdf0e10cSrcweir             virtual void SAL_CALL beforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
153cdf0e10cSrcweir             virtual void SAL_CALL afterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
154cdf0e10cSrcweir             virtual sal_Bool SAL_CALL first(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
155cdf0e10cSrcweir             virtual sal_Bool SAL_CALL last(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
156cdf0e10cSrcweir             virtual sal_Int32 SAL_CALL getRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
157cdf0e10cSrcweir             virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
158cdf0e10cSrcweir             virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
159cdf0e10cSrcweir             virtual sal_Bool SAL_CALL previous(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
160cdf0e10cSrcweir             virtual void SAL_CALL refreshRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
161cdf0e10cSrcweir             virtual sal_Bool SAL_CALL rowUpdated(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
162cdf0e10cSrcweir             virtual sal_Bool SAL_CALL rowInserted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
163cdf0e10cSrcweir             virtual sal_Bool SAL_CALL rowDeleted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
164cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
165cdf0e10cSrcweir             // XRow
166cdf0e10cSrcweir             virtual sal_Bool SAL_CALL wasNull(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
167cdf0e10cSrcweir             virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
168cdf0e10cSrcweir             virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
169cdf0e10cSrcweir             virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
170cdf0e10cSrcweir             virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
171cdf0e10cSrcweir             virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
172cdf0e10cSrcweir             virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
173cdf0e10cSrcweir             virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
174cdf0e10cSrcweir             virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
175cdf0e10cSrcweir             virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
176cdf0e10cSrcweir             virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
177cdf0e10cSrcweir             virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
178cdf0e10cSrcweir             virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
179cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
180cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
181cdf0e10cSrcweir             virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
182cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
183cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
184cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
185cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
186cdf0e10cSrcweir             // XResultSetMetaDataSupplier
187cdf0e10cSrcweir             virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
188cdf0e10cSrcweir             // XCancellable
189cdf0e10cSrcweir             virtual void SAL_CALL cancel(  ) throw(::com::sun::star::uno::RuntimeException);
190cdf0e10cSrcweir             // XCloseable
191cdf0e10cSrcweir             virtual void SAL_CALL close(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
192cdf0e10cSrcweir             // XWarningsSupplier
193cdf0e10cSrcweir             virtual ::com::sun::star::uno::Any SAL_CALL getWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
194cdf0e10cSrcweir             virtual void SAL_CALL clearWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
195cdf0e10cSrcweir             // XColumnLocate
196cdf0e10cSrcweir             virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
197cdf0e10cSrcweir 
getColumnMapping()198cdf0e10cSrcweir             const ::connectivity::TIntVector& getColumnMapping() { return m_aColMapping; }
199cdf0e10cSrcweir 
200cdf0e10cSrcweir             void openTablesTypes( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
201cdf0e10cSrcweir             void openTypeInfo() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
202cdf0e10cSrcweir             void openCatalogs() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
203cdf0e10cSrcweir             void openSchemas() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
204cdf0e10cSrcweir             void openTables(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern,
205cdf0e10cSrcweir                                             const ::rtl::OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& types )
206cdf0e10cSrcweir                                             throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
207cdf0e10cSrcweir             void openColumnPrivileges(      const ::com::sun::star::uno::Any& catalog,    const ::rtl::OUString& schema,
208cdf0e10cSrcweir                                                                     const ::rtl::OUString& table,   const ::rtl::OUString& columnNamePattern )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
209cdf0e10cSrcweir             void openColumns(       const ::com::sun::star::uno::Any& catalog,                            const ::rtl::OUString& schemaPattern,
210cdf0e10cSrcweir                                                     const ::rtl::OUString& tableNamePattern,        const ::rtl::OUString& columnNamePattern )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
211cdf0e10cSrcweir             void openProcedureColumns(      const ::com::sun::star::uno::Any& catalog,            const ::rtl::OUString& schemaPattern,
212cdf0e10cSrcweir                                                             const ::rtl::OUString& procedureNamePattern,const ::rtl::OUString& columnNamePattern )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
213cdf0e10cSrcweir             void openProcedures(    const ::com::sun::star::uno::Any& catalog,            const ::rtl::OUString& schemaPattern,
214cdf0e10cSrcweir                                                             const ::rtl::OUString& procedureNamePattern)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
215cdf0e10cSrcweir             void openVersionColumns(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,
216cdf0e10cSrcweir                                                             const ::rtl::OUString& table)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
217cdf0e10cSrcweir             void openBestRowIdentifier( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,
218cdf0e10cSrcweir                                                                     const ::rtl::OUString& table,sal_Int32 scope,sal_Bool nullable )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
219cdf0e10cSrcweir             void openForeignKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString* schema,const ::rtl::OUString* table,
220cdf0e10cSrcweir                                                               const ::com::sun::star::uno::Any& catalog2, const ::rtl::OUString* schema2,const ::rtl::OUString* table2)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
221cdf0e10cSrcweir             void openExportedKeys(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,const ::rtl::OUString& table)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
222cdf0e10cSrcweir             void openImportedKeys(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,const ::rtl::OUString& table)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
223cdf0e10cSrcweir             void openPrimaryKeys(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,const ::rtl::OUString& table)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
224cdf0e10cSrcweir             void openTablePrivileges(const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern,
225cdf0e10cSrcweir                                                               const ::rtl::OUString& tableNamePattern)throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
226cdf0e10cSrcweir             void openSpecialColumns(sal_Bool _bRowVer,const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,
227cdf0e10cSrcweir                                                                     const ::rtl::OUString& table,sal_Int32 scope,   sal_Bool nullable )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
228cdf0e10cSrcweir             void openIndexInfo( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema,
229cdf0e10cSrcweir                                                     const ::rtl::OUString& table,sal_Bool unique,sal_Bool approximate )throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
230cdf0e10cSrcweir 
231cdf0e10cSrcweir         protected:
232cdf0e10cSrcweir             using OPropertySetHelper::getFastPropertyValue;
233cdf0e10cSrcweir         };
234cdf0e10cSrcweir     }
235cdf0e10cSrcweir 
236cdf0e10cSrcweir }
237cdf0e10cSrcweir #endif // _CONNECTIVITY_ADO_ADATABASEMETADATARESULTSET_HXX_
238