Tag: cws_src680_dba24d
User: oj      
Date: 2007-11-21 12:42:29+0000
Modified:
   dba/connectivity/source/drivers/mozab/MConnection.cxx
   dba/connectivity/source/drivers/mozab/MConnection.hxx
   dba/connectivity/source/drivers/mozab/MDatabaseMetaData.cxx
   dba/connectivity/source/drivers/mozab/MDatabaseMetaData.hxx

Log:
 #i68854# impl TypeSettingInfo for Oracle and some clean up

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MConnection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MConnection.cxx?r1=1.26&r2=1.26.78.1
Delta lines:  +4 -15
--------------------
--- MConnection.cxx     2007-03-26 13:59:24+0000        1.26
+++ MConnection.cxx     2007-11-21 12:42:26+0000        1.26.78.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MConnection.cxx,v $
  *
- *  $Revision: 1.26 $
+ *  $Revision: 1.26.78.1 $
  *
- *  last change: $Author: vg $ $Date: 2007/03/26 13:59:24 $
+ *  last change: $Author: oj $ $Date: 2007/11/21 12:42:26 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -145,7 +145,6 @@
 
 OConnection::OConnection(MozabDriver*  _pDriver)
     :OSubComponent<OConnection, 
OConnection_BASE>((::cppu::OWeakObject*)_pDriver, this)
-    ,m_xMetaData(NULL)
     ,m_pDriver(_pDriver)
     ,m_pImplData( new ConnectionImplData )
     ,m_aColumnAlias( _pDriver->getMSFactory() )
@@ -552,23 +551,13 @@
 
     m_pImplData->pResourceBundle.reset();
 
-       for (OWeakRefArray::iterator i = m_aStatements.begin(); 
m_aStatements.end() != i; ++i)
-       {
-               Reference< XComponent > xComp(i->get(), UNO_QUERY);
-               if (xComp.is())
-                       xComp->dispose();
-       }
-       m_aStatements.clear();
-
-       m_xMetaData = ::com::sun::star::uno::WeakReference< 
::com::sun::star::sdbc::XDatabaseMetaData>();
-
+    OConnection_BASE::disposing();
     if ( m_aNameMapper ) {
         MQuery::FreeNameMapper( m_aNameMapper );
         m_aNameMapper = NULL;
     }
 
        dispose_ChildImpl();
-       OConnection_BASE::disposing();
 }
 // 
-----------------------------------------------------------------------------
 

File [changed]: MConnection.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MConnection.hxx?r1=1.16&r2=1.16.78.1
Delta lines:  +3 -9
-------------------
--- MConnection.hxx     2007-03-26 13:59:49+0000        1.16
+++ MConnection.hxx     2007-11-21 12:42:26+0000        1.16.78.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MConnection.hxx,v $
  *
- *  $Revision: 1.16 $
+ *  $Revision: 1.16.78.1 $
  *
- *  last change: $Author: vg $ $Date: 2007/03/26 13:59:49 $
+ *  last change: $Author: oj $ $Date: 2007/11/21 12:42:26 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -136,12 +136,6 @@
                        
//====================================================================
                        // Data attributes
                        
//====================================================================
-            ::com::sun::star::uno::WeakReference< 
::com::sun::star::sdbc::XDatabaseMetaData > m_xMetaData;
-
-                       connectivity::OWeakRefArray                             
m_aStatements;  //      vector containing a list
-                                                                               
                                //  of all the Statement objects
-                                                                               
                                //  for this Connection
-
             ::com::sun::star::sdbc::SQLWarning      m_aLastWarning; //      
Last SQLWarning generated by
                                                                                
                                //  an operation
                        MozabDriver*                                            
        m_pDriver;              //      Pointer to the owning

File [changed]: MDatabaseMetaData.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MDatabaseMetaData.cxx?r1=1.14&r2=1.14.140.1
Delta lines:  +13 -161
----------------------
--- MDatabaseMetaData.cxx       2006-10-18 13:08:28+0000        1.14
+++ MDatabaseMetaData.cxx       2007-11-21 12:42:26+0000        1.14.140.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MDatabaseMetaData.cxx,v $
  *
- *  $Revision: 1.14 $
+ *  $Revision: 1.14.140.1 $
  *
- *  last change: $Author: ihi $ $Date: 2006/10/18 13:08:28 $
+ *  last change: $Author: oj $ $Date: 2007/11/21 12:42:26 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -94,7 +94,7 @@
 
 
 ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon)
-                                               : 
::connectivity::ODatabaseMetaDataBase(_pCon)
+                                               : 
::connectivity::ODatabaseMetaDataBase(_pCon,_pCon->getConnectionInfo())
                                                ,m_pConnection(_pCon)
 {
        OSL_ENSURE(m_pConnection,"ODatabaseMetaData::ODatabaseMetaData: No 
connection set!");
@@ -884,11 +884,6 @@
        return sal_False;
 }
 // -------------------------------------------------------------------------
-Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection(  ) 
throw(SQLException, RuntimeException)
-{
-       return (Reference< XConnection >)m_pConnection;//new 
OConnection(m_aConnectionHandle);
-}
-// -------------------------------------------------------------------------
 // here follow all methods which return a resultset
 // the first methods is an example implementation how to use this resultset
 // of course you could implement it on your and you should do this because
@@ -909,13 +904,11 @@
                // ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ALIAS")),
                // ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("SYNONYM"))
        };
-       ::connectivity::ODatabaseMetaDataResultSet* pResult = new 
::connectivity::ODatabaseMetaDataResultSet();
+       ::connectivity::ODatabaseMetaDataResultSet* pResult = new 
::connectivity::ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTableTypes);
     Reference< XResultSet > xRef = pResult;
-       // this call initialies the resultset metadata with the corresponding 
information
-       pResult->setTableTypes();
 
        // here we fill the rows which should be visible when ask for data from 
the resultset returned here
-       sal_Int32  nSize = sizeof(sTableTypes) / sizeof(::rtl::OUString);
+       const sal_Int32  nSize = sizeof(sTableTypes) / sizeof(::rtl::OUString);
        ODatabaseMetaDataResultSet::ORows aRows;
        for(sal_Int32 i=0;i < nSize;++i)
        {
@@ -930,13 +923,12 @@
        return xRef;
 }
 // -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo(  ) 
throw(SQLException, RuntimeException)
+Reference< XResultSet > ODatabaseMetaData::impl_getTypeInfo_throw(  )
 {
        // this returns an empty resultset where the column-names are already 
set
        // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
+       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTypeInfo);
        Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setTypeInfoMap();
        static ODatabaseMetaDataResultSet::ORows aRows;
 
        if(aRows.empty())
@@ -971,47 +963,14 @@
        return xResultSet;
 }
 // -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs(  ) 
throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setCatalogsMap();
-       return xResultSet;
-}
-// 
-----------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas(  ) 
throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setSchemasMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/,
-       const ::rtl::OUString& /*columnNamePattern*/ ) throw(SQLException, 
RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setColumnPrivilegesMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
        const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const 
::rtl::OUString& tableNamePattern,
        const ::rtl::OUString& columnNamePattern ) throw(SQLException, 
RuntimeException)
 {
        // this returns an empty resultset where the column-names are already 
set
        // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
+    ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eColumns);
        Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setColumnsMap();
     pResultSet->setRows( getColumnRows( tableNamePattern, columnNamePattern ));
        return xResultSet;
 }
@@ -1022,9 +981,8 @@
 {
        // this returns an empty resultset where the column-names are already 
set
        // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
+       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTables);
        Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setTablesMap();
 
     // ODatabaseMetaDataResultSet::ORows aRows;
     // aRows = m_pDbMetaDataHelper->getTables( m_pConnection, tableNamePattern 
);
@@ -1038,106 +996,13 @@
        return xResultSet;
 }
 // -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/,
-       const ::rtl::OUString& /*procedureNamePattern*/, const ::rtl::OUString& 
/*columnNamePattern*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setProcedureColumnsMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/,
-       const ::rtl::OUString& /*procedureNamePattern*/ ) throw(SQLException, 
RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setProceduresMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setVersionColumnsMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setExportedKeysMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setImportedKeysMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setPrimaryKeysMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/,
-       sal_Bool /*unique*/, sal_Bool /*approximate*/ ) throw(SQLException, 
RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setIndexInfoMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
-       const Any& /*catalog*/, const ::rtl::OUString& /*schema*/, const 
::rtl::OUString& /*table*/, sal_Int32 /*scope*/,
-       sal_Bool /*nullable*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setBestRowIdentifierMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
        const Any& /*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const 
::rtl::OUString& tableNamePattern ) throw(SQLException, RuntimeException)
 {
-               ::connectivity::ODatabaseMetaDataResultSet* pResult = new 
::connectivity::ODatabaseMetaDataResultSet();
+       ::connectivity::ODatabaseMetaDataResultSet* pResult = new 
::connectivity::ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTablePrivileges);
                Reference< XResultSet > xRef = NULL;
 
                xRef = pResult;
-               pResult->setTablePrivilegesMap();
 
     ::std::vector< ::rtl::OUString > tables;
     ::std::vector< ::rtl::OUString > types;
@@ -1187,19 +1052,6 @@
 
 }
 // -------------------------------------------------------------------------
-Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
-       const Any& /*primaryCatalog*/, const ::rtl::OUString& /*primarySchema*/,
-       const ::rtl::OUString& /*primaryTable*/, const Any& /*foreignCatalog*/,
-       const ::rtl::OUString& /*foreignSchema*/, const ::rtl::OUString& 
/*foreignTable*/ ) throw(SQLException, RuntimeException)
-{
-       // this returns an empty resultset where the column-names are already 
set
-       // in special the metadata of the resultset already returns the right 
columns
-       ODatabaseMetaDataResultSet* pResultSet = new 
ODatabaseMetaDataResultSet();
-       Reference< XResultSet > xResultSet = pResultSet;
-       pResultSet->setCrossReferenceMap();
-       return xResultSet;
-}
-// -------------------------------------------------------------------------
 Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& 
/*catalog*/, const ::rtl::OUString& /*schemaPattern*/, const ::rtl::OUString& 
/*typeNamePattern*/, const Sequence< sal_Int32 >& /*types*/ ) 
throw(SQLException, RuntimeException)
 {
        return NULL;

File [changed]: MDatabaseMetaData.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MDatabaseMetaData.hxx?r1=1.3&r2=1.3.310.1
Delta lines:  +12 -20
---------------------
--- MDatabaseMetaData.hxx       2005-09-08 06:18:14+0000        1.3
+++ MDatabaseMetaData.hxx       2007-11-21 12:42:26+0000        1.3.310.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MDatabaseMetaData.hxx,v $
  *
- *  $Revision: 1.3 $
+ *  $Revision: 1.3.310.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/09/08 06:18:14 $
+ *  last change: $Author: oj $ $Date: 2007/11/21 12:42:26 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -56,13 +56,16 @@
 
             ODatabaseMetaDataResultSet::ORows& SAL_CALL getColumnRows( const 
::rtl::OUString& tableNamePattern, const ::rtl::OUString& columnNamePattern ) 
throw( ::com::sun::star::sdbc::SQLException );
 
+        protected:
+            virtual ~ODatabaseMetaData();
                public:
 
                        inline OConnection* getOwnConnection() const { return 
m_pConnection; }
 
                        ODatabaseMetaData(OConnection* _pCon);
-                       virtual ~ODatabaseMetaData();
 
+        private:
+            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > impl_getTypeInfo_throw();
                        
                        // as I mentioned before this interface is really BIG
                        // XDatabaseMetaData
@@ -184,23 +187,12 @@
             virtual sal_Bool SAL_CALL 
supportsDataManipulationTransactionsOnly(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit(  
) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedures( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& procedureNamePattern ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedureColumns( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& 
columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
+
             virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getTables( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< 
::rtl::OUString >& types ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getSchemas(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getCatalogs(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getTableTypes(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getColumns( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& tableNamePattern, const ::rtl::OUString& 
columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getColumnPrivileges( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table, const ::rtl::OUString& columnNamePattern ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getTablePrivileges( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& tableNamePattern ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getBestRowIdentifier( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table, sal_Int32 scope, sal_Bool nullable ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getVersionColumns( 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);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getPrimaryKeys( 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);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getImportedKeys( 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);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getExportedKeys( 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);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getCrossReference( const 
::com::sun::star::uno::Any& primaryCatalog, const ::rtl::OUString& 
primarySchema, const ::rtl::OUString& primaryTable, const 
::com::sun::star::uno::Any& foreignCatalog, const ::rtl::OUString& 
foreignSchema, const ::rtl::OUString& foreignTable ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getTypeInfo(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getIndexInfo( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const 
::rtl::OUString& table, sal_Bool unique, sal_Bool approximate ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
+            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getColumns( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& tableNamePattern, const ::rtl::OUString& 
columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
+
             virtual sal_Bool SAL_CALL supportsResultSetType( sal_Int32 setType 
) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL supportsResultSetConcurrency( sal_Int32 
setType, sal_Int32 concurrency ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL ownUpdatesAreVisible( sal_Int32 setType 
) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
@@ -213,8 +205,8 @@
             virtual sal_Bool SAL_CALL deletesAreDetected( sal_Int32 setType ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL insertsAreDetected( sal_Int32 setType ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
             virtual sal_Bool SAL_CALL supportsBatchUpdates(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
+
             virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSet > SAL_CALL getUDTs( const 
::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, 
const ::rtl::OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< 
sal_Int32 >& types ) throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
-            virtual ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XConnection > SAL_CALL getConnection(  ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::uno::RuntimeException);
                };
        }
 }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to