summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TDatabaseMetaDataBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/TDatabaseMetaDataBase.cxx')
-rw-r--r--connectivity/source/commontools/TDatabaseMetaDataBase.cxx64
1 files changed, 32 insertions, 32 deletions
diff --git a/connectivity/source/commontools/TDatabaseMetaDataBase.cxx b/connectivity/source/commontools/TDatabaseMetaDataBase.cxx
index db0b796b621d..c63667eee210 100644
--- a/connectivity/source/commontools/TDatabaseMetaDataBase.cxx
+++ b/connectivity/source/commontools/TDatabaseMetaDataBase.cxx
@@ -62,25 +62,25 @@ ODatabaseMetaDataBase::ODatabaseMetaDataBase(const Reference< XConnection >& _rx
}
osl_atomic_decrement( &m_refCount );
}
-// -------------------------------------------------------------------------
+
ODatabaseMetaDataBase::~ODatabaseMetaDataBase()
{
}
-// -----------------------------------------------------------------------------
+
Sequence< PropertyValue > SAL_CALL ODatabaseMetaDataBase::getConnectionInfo( ) throw (RuntimeException)
{
return m_aConnectionInfo;
}
-// -----------------------------------------------------------------------------
+
void SAL_CALL ODatabaseMetaDataBase::disposing( const EventObject& /*Source*/ ) throw(RuntimeException)
{
// cut off all references to the connection
m_xConnection.clear();
m_xListenerHelper.clear();
}
-// -----------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getTypeInfo( ) throw(SQLException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -167,39 +167,39 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getTypeInfo( ) throw(SQ
pResult->setRows(m_aTypeInfoRows);
return xRet;
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getExportedKeys(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eExportedKeys );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getImportedKeys(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eImportedKeys );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getPrimaryKeys(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::ePrimaryKeys );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getIndexInfo(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/,
sal_Bool /*unique*/, sal_Bool /*approximate*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eIndexInfo );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getBestRowIdentifier(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/, sal_Int32 /*scope*/,
sal_Bool /*nullable*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eBestRowIdentifier );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getCrossReference(
const Any& /*primaryCatalog*/, const OUString& /*primarySchema*/,
const OUString& /*primaryTable*/, const Any& /*foreignCatalog*/,
@@ -207,119 +207,119 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getCrossReference(
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eCrossReference );
}
-// -------------------------------------------------------------------------
+
Reference< XConnection > SAL_CALL ODatabaseMetaDataBase::getConnection( ) throw(SQLException, RuntimeException)
{
return m_xConnection;
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getProcedureColumns(
const Any& /*catalog*/, const OUString& /*schemaPattern*/,
const OUString& /*procedureNamePattern*/, const OUString& /*columnNamePattern*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eProcedureColumns );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getProcedures(
const Any& /*catalog*/, const OUString& /*schemaPattern*/,
const OUString& /*procedureNamePattern*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eProcedures );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getVersionColumns(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eVersionColumns );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getSchemas( ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eSchemas );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getColumnPrivileges(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/,
const OUString& /*columnNamePattern*/ ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eColumnPrivileges );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getTablePrivileges(
const Any& /*catalog*/, const OUString& /*schema*/, const OUString& /*table*/) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eTablePrivileges );
}
-// -------------------------------------------------------------------------
+
Reference< XResultSet > SAL_CALL ODatabaseMetaDataBase::getCatalogs( ) throw(SQLException, RuntimeException)
{
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eCatalogs );
}
-// -----------------------------------------------------------------------------
+
OUString SAL_CALL ODatabaseMetaDataBase::getIdentifierQuoteString( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_sIdentifierQuoteString,::std::mem_fun_t< OUString ,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_getIdentifierQuoteString_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::isCatalogAtStart( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_isCatalogAtStart,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_isCatalogAtStart_throw));
}
-// -----------------------------------------------------------------------------
+
OUString SAL_CALL ODatabaseMetaDataBase::getCatalogSeparator( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_sCatalogSeparator,::std::mem_fun_t< OUString,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_getCatalogSeparator_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsCatalogsInTableDefinitions( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsCatalogsInTableDefinitions,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsCatalogsInTableDefinitions_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsSchemasInTableDefinitions( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsSchemasInTableDefinitions,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsSchemasInTableDefinitions_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsCatalogsInDataManipulation( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsCatalogsInDataManipulation,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsCatalogsInDataManipulation_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsSchemasInDataManipulation( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsSchemasInDataManipulation,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsSchemasInDataManipulation_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsMixedCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsMixedCaseQuotedIdentifiers,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsMixedCaseQuotedIdentifiers_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsAlterTableWithAddColumn( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsAlterTableWithAddColumn,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsAlterTableWithAddColumn_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::supportsAlterTableWithDropColumn( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_supportsAlterTableWithDropColumn,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_supportsAlterTableWithDropColumn_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Int32 SAL_CALL ODatabaseMetaDataBase::getMaxStatements( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_MaxStatements,::std::mem_fun_t< sal_Int32,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_getMaxStatements_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Int32 SAL_CALL ODatabaseMetaDataBase::getMaxTablesInSelect( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_MaxTablesInSelect,::std::mem_fun_t< sal_Int32,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_getMaxTablesInSelect_throw));
}
-// -----------------------------------------------------------------------------
+
sal_Bool SAL_CALL ODatabaseMetaDataBase::storesMixedCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException)
{
return callImplMethod(m_storesMixedCaseQuotedIdentifiers,::std::mem_fun_t< sal_Bool,ODatabaseMetaDataBase>(&ODatabaseMetaDataBase::impl_storesMixedCaseQuotedIdentifiers_throw));
}
-// -----------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */