summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_databasemetadata.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-27 10:37:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-27 10:40:41 +0100
commitb61214c91d926ea56f2cae309469da588b3304b1 (patch)
tree9e2c99e3cfac09d4f6f9cb7f39107c916a301445 /mysqlc/source/mysqlc_databasemetadata.cxx
parentd1f31681623696e99b0bd9e98570cb1ebac518cc (diff)
Remove dynamic exception specifications from !LIBO_INTERNAL_ONLY
...only odk/examples/ remains to be clean up Change-Id: I875a1e8d6750b6b007bd75126b8010273e1f32d5
Diffstat (limited to 'mysqlc/source/mysqlc_databasemetadata.cxx')
-rw-r--r--mysqlc/source/mysqlc_databasemetadata.cxx149
1 files changed, 0 insertions, 149 deletions
diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx
index bc07e9abf692..b5bb7dd65ada 100644
--- a/mysqlc/source/mysqlc_databasemetadata.cxx
+++ b/mysqlc/source/mysqlc_databasemetadata.cxx
@@ -178,157 +178,131 @@ bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool
}
rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogSeparator", &sql::DatabaseMetaData::getCatalogSeparator);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxBinaryLiteralLength", &sql::DatabaseMetaData::getMaxBinaryLiteralLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxRowSize", &sql::DatabaseMetaData::getMaxRowSize);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCatalogNameLength", &sql::DatabaseMetaData::getMaxCatalogNameLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCharLiteralLength", &sql::DatabaseMetaData::getMaxCharLiteralLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnNameLength", &sql::DatabaseMetaData::getMaxColumnNameLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInIndex", &sql::DatabaseMetaData::getMaxColumnsInIndex);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCursorNameLength", &sql::DatabaseMetaData::getMaxCursorNameLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxConnections", &sql::DatabaseMetaData::getMaxConnections);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInTable", &sql::DatabaseMetaData::getMaxColumnsInTable);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatementLength", &sql::DatabaseMetaData::getMaxStatementLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTableNameLength", &sql::DatabaseMetaData::getMaxTableNameLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTablesInSelect", &sql::DatabaseMetaData::getMaxTablesInSelect);
}
sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("doesMaxRowSizeIncludeBlobs", &sql::DatabaseMetaData::doesMaxRowSizeIncludeBlobs);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesLowerCaseQuotedIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseIdentifiers", &sql::DatabaseMetaData::storesLowerCaseIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesMixedCaseQuotedIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseIdentifiers", &sql::DatabaseMetaData::storesMixedCaseIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesUpperCaseQuotedIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseIdentifiers", &sql::DatabaseMetaData::storesUpperCaseIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithAddColumn", &sql::DatabaseMetaData::supportsAlterTableWithAddColumn);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithDropColumn", &sql::DatabaseMetaData::supportsAlterTableWithDropColumn);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxIndexLength", &sql::DatabaseMetaData::getMaxIndexLength);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsNonNullableColumns", &sql::DatabaseMetaData::supportsNonNullableColumns);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogTerm", &sql::DatabaseMetaData::getCatalogTerm);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
- throw(SQLException, RuntimeException, std::exception)
{
if (!identifier_quote_string_set) {
identifier_quote_string = impl_getStringMetaData("getIdentifierQuoteString", &sql::DatabaseMetaData::getIdentifierQuoteString);
@@ -338,241 +312,201 @@ rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
}
rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getExtraNameCharacters", &sql::DatabaseMetaData::getExtraNameCharacters);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDifferentTableCorrelationNames", &sql::DatabaseMetaData::supportsDifferentTableCorrelationNames);
}
sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isCatalogAtStart", &sql::DatabaseMetaData::isCatalogAtStart);
}
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionIgnoredInTransactions", &sql::DatabaseMetaData::dataDefinitionIgnoredInTransactions);
}
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionCausesTransactionCommit", &sql::DatabaseMetaData::dataDefinitionCausesTransactionCommit);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataManipulationTransactionsOnly", &sql::DatabaseMetaData::supportsDataManipulationTransactionsOnly);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataDefinitionAndDataManipulationTransactions", &sql::DatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedDelete", &sql::DatabaseMetaData::supportsPositionedDelete);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedUpdate", &sql::DatabaseMetaData::supportsPositionedUpdate);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossRollback", &sql::DatabaseMetaData::supportsOpenStatementsAcrossRollback);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossCommit", &sql::DatabaseMetaData::supportsOpenStatementsAcrossCommit);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossCommit", &sql::DatabaseMetaData::supportsOpenCursorsAcrossCommit);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossRollback", &sql::DatabaseMetaData::supportsOpenCursorsAcrossRollback);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel(sal_Int32 level)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactionIsolationLevel", &sql::DatabaseMetaData::supportsTransactionIsolationLevel, level);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInDataManipulation", &sql::DatabaseMetaData::supportsSchemasInDataManipulation);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92FullSQL", &sql::DatabaseMetaData::supportsANSI92FullSQL);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92EntryLevelSQL", &sql::DatabaseMetaData::supportsANSI92EntryLevelSQL);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsIntegrityEnhancementFacility", &sql::DatabaseMetaData::supportsIntegrityEnhancementFacility);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInIndexDefinitions", &sql::DatabaseMetaData::supportsSchemasInIndexDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInTableDefinitions", &sql::DatabaseMetaData::supportsSchemasInTableDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInTableDefinitions", &sql::DatabaseMetaData::supportsCatalogsInTableDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInIndexDefinitions", &sql::DatabaseMetaData::supportsCatalogsInIndexDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInDataManipulation", &sql::DatabaseMetaData::supportsCatalogsInDataManipulation);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOuterJoins", &sql::DatabaseMetaData::supportsOuterJoins);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatements", &sql::DatabaseMetaData::getMaxStatements);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxProcedureNameLength", &sql::DatabaseMetaData::getMaxProcedureNameLength);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxSchemaNameLength", &sql::DatabaseMetaData::getMaxSchemaNameLength);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactions", &sql::DatabaseMetaData::supportsTransactions);
}
sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allProceduresAreCallable", &sql::DatabaseMetaData::allProceduresAreCallable);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsStoredProcedures", &sql::DatabaseMetaData::supportsStoredProcedures);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSelectForUpdate", &sql::DatabaseMetaData::supportsSelectForUpdate);
}
sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allTablesAreSelectable", &sql::DatabaseMetaData::allTablesAreSelectable);
}
sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isReadOnly", &sql::DatabaseMetaData::isReadOnly);
}
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFiles", &sql::DatabaseMetaData::usesLocalFiles);
}
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFilePerTable", &sql::DatabaseMetaData::usesLocalFilePerTable);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTypeConversion", &sql::DatabaseMetaData::supportsTypeConversion);
}
sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullPlusNonNullIsNull", &sql::DatabaseMetaData::nullPlusNonNullIsNull);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsColumnAliasing", &sql::DatabaseMetaData::supportsColumnAliasing);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTableCorrelationNames", &sql::DatabaseMetaData::supportsTableCorrelationNames);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, sal_Int32 /* toType */)
- throw(SQLException, RuntimeException, std::exception)
{
try {
/* ToDo -> use supportsConvert( fromType, toType) */
@@ -588,218 +522,182 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, s
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExpressionsInOrderBy", &sql::DatabaseMetaData::supportsExpressionsInOrderBy);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupBy", &sql::DatabaseMetaData::supportsGroupBy);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByBeyondSelect", &sql::DatabaseMetaData::supportsGroupByBeyondSelect);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByUnrelated", &sql::DatabaseMetaData::supportsGroupByUnrelated);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleTransactions", &sql::DatabaseMetaData::supportsMultipleTransactions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleResultSets", &sql::DatabaseMetaData::supportsMultipleResultSets);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLikeEscapeClause", &sql::DatabaseMetaData::supportsLikeEscapeClause);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOrderByUnrelated", &sql::DatabaseMetaData::supportsOrderByUnrelated);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnion", &sql::DatabaseMetaData::supportsUnion);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnionAll", &sql::DatabaseMetaData::supportsUnionAll);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseQuotedIdentifiers);
}
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtEnd", &sql::DatabaseMetaData::nullsAreSortedAtEnd);
}
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtStart", &sql::DatabaseMetaData::nullsAreSortedAtStart);
}
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedHigh", &sql::DatabaseMetaData::nullsAreSortedHigh);
}
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedLow", &sql::DatabaseMetaData::nullsAreSortedLow);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInProcedureCalls", &sql::DatabaseMetaData::supportsSchemasInProcedureCalls);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsSchemasInPrivilegeDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInProcedureCalls", &sql::DatabaseMetaData::supportsCatalogsInProcedureCalls);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsCatalogsInPrivilegeDefinitions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCorrelatedSubqueries", &sql::DatabaseMetaData::supportsCorrelatedSubqueries);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInComparisons", &sql::DatabaseMetaData::supportsSubqueriesInComparisons);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInExists", &sql::DatabaseMetaData::supportsSubqueriesInExists);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInIns", &sql::DatabaseMetaData::supportsSubqueriesInIns);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInQuantifieds", &sql::DatabaseMetaData::supportsSubqueriesInQuantifieds);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92IntermediateSQL", &sql::DatabaseMetaData::supportsANSI92IntermediateSQL);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getURL()
- throw(SQLException, RuntimeException, std::exception)
{
return m_rConnection.getConnectionSettings().connectionURL;
}
rtl::OUString SAL_CALL ODatabaseMetaData::getUserName()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getUserName", &sql::DatabaseMetaData::getUserName);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName()
- throw(SQLException, RuntimeException, std::exception)
{
rtl::OUString aValue( "MySQL Connector/OO.org" );
return aValue;
}
rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
- throw(SQLException, RuntimeException, std::exception)
{
return rtl::OUString( "0.9.2" );
}
rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductVersion", &sql::DatabaseMetaData::getDatabaseProductVersion);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductName", &sql::DatabaseMetaData::getDatabaseProductName);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getProcedureTerm", &sql::DatabaseMetaData::getProcedureTerm);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSchemaTerm", &sql::DatabaseMetaData::getSchemaTerm);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion()
- throw(RuntimeException, std::exception)
{
return MARIADBC_VERSION_MAJOR;
}
sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
- throw(SQLException, RuntimeException, std::exception)
{
try {
switch (meta->getDefaultTransactionIsolation()) {
@@ -819,109 +717,91 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
}
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion()
- throw(RuntimeException, std::exception)
{
return MARIADBC_VERSION_MINOR;
}
rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSQLKeywords", &sql::DatabaseMetaData::getSQLKeywords);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSearchStringEscape", &sql::DatabaseMetaData::getSearchStringEscape);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getStringFunctions", &sql::DatabaseMetaData::getStringFunctions);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getTimeDateFunctions", &sql::DatabaseMetaData::getTimeDateFunctions);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSystemFunctions", &sql::DatabaseMetaData::getSystemFunctions);
}
rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getNumericFunctions", &sql::DatabaseMetaData::getNumericFunctions);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExtendedSQLGrammar", &sql::DatabaseMetaData::supportsExtendedSQLGrammar);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCoreSQLGrammar", &sql::DatabaseMetaData::supportsCoreSQLGrammar);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMinimumSQLGrammar", &sql::DatabaseMetaData::supportsMinimumSQLGrammar);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsFullOuterJoins", &sql::DatabaseMetaData::supportsFullOuterJoins);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLimitedOuterJoins", &sql::DatabaseMetaData::supportsLimitedOuterJoins);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInGroupBy", &sql::DatabaseMetaData::getMaxColumnsInGroupBy);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInOrderBy", &sql::DatabaseMetaData::getMaxColumnsInOrderBy);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInSelect", &sql::DatabaseMetaData::getMaxColumnsInSelect);
}
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxUserNameLength", &sql::DatabaseMetaData::getMaxUserNameLength);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("supportsResultSetType", &sql::DatabaseMetaData::supportsResultSetType, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency)
- throw(SQLException, RuntimeException, std::exception)
{
/* TODO: Check this out */
try {
@@ -940,67 +820,56 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setT
}
sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownUpdatesAreVisible", &sql::DatabaseMetaData::ownUpdatesAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownDeletesAreVisible", &sql::DatabaseMetaData::ownDeletesAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownInsertsAreVisible", &sql::DatabaseMetaData::ownInsertsAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersUpdatesAreVisible", &sql::DatabaseMetaData::othersUpdatesAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersDeletesAreVisible", &sql::DatabaseMetaData::othersDeletesAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersInsertsAreVisible", &sql::DatabaseMetaData::othersInsertsAreVisible, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("updatesAreDetected", &sql::DatabaseMetaData::updatesAreDetected, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("deletesAreDetected", &sql::DatabaseMetaData::deletesAreDetected, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected(sal_Int32 setType)
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("insertsAreDetected", &sql::DatabaseMetaData::insertsAreDetected, setType);
}
sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates()
- throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsBatchUpdates", &sql::DatabaseMetaData::supportsBatchUpdates);
}
Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
- throw(SQLException, RuntimeException, std::exception)
{
return &m_rConnection;
}
@@ -1013,7 +882,6 @@ Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
*/
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
- throw(SQLException, RuntimeException, std::exception)
{
const char * table_types[] = {"TABLE", "VIEW"};
sal_Int32 requiredVersion[] = {0, 50000};
@@ -1034,7 +902,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
}
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
@@ -1073,7 +940,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
}
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1103,7 +969,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
}
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas()
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1144,7 +1009,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
const rtl::OUString& schema,
const rtl::OUString& table,
const rtl::OUString& columnNamePattern)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1183,7 +1047,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
const rtl::OUString& schemaPattern,
const rtl::OUString& tableNamePattern,
const rtl::OUString& columnNamePattern)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1228,7 +1091,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
const rtl::OUString& schemaPattern,
const rtl::OUString& tableNamePattern,
const Sequence< rtl::OUString >& types )
- throw(SQLException, RuntimeException, std::exception)
{
sal_Int32 nLength = types.getLength();
@@ -1286,7 +1148,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
const rtl::OUString& /* schemaPattern */,
const rtl::OUString& /* procedureNamePattern */,
const rtl::OUString& /* columnNamePattern */)
- throw(SQLException, RuntimeException, std::exception)
{
// Currently there is no information available
return nullptr;
@@ -1296,7 +1157,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
const Any& catalog,
const rtl::OUString& schemaPattern,
const rtl::OUString& procedureNamePattern)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1337,7 +1197,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
const Any& /* catalog */,
const rtl::OUString& /* schema */,
const rtl::OUString& /* table */)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1349,7 +1208,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
const Any& catalog ,
const rtl::OUString& schema ,
const rtl::OUString& table )
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1385,7 +1243,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
const Any& catalog,
const rtl::OUString& schema,
const rtl::OUString& table)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1422,7 +1279,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
const Any& catalog,
const rtl::OUString& schema,
const rtl::OUString& table)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1461,7 +1317,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
const rtl::OUString& table,
sal_Bool unique,
sal_Bool approximate)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1500,7 +1355,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
const rtl::OUString& table,
sal_Int32 scope,
sal_Bool nullable)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1537,7 +1391,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
const Any& catalog,
const rtl::OUString& schemaPattern,
const rtl::OUString& tableNamePattern)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1598,7 +1451,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
const Any& foreignCatalog,
const rtl::OUString& foreignSchema,
const rtl::OUString& foreignTable)
- throw(SQLException, RuntimeException, std::exception)
{
Reference< XResultSet > xResultSet(getOwnConnection().getDriver().getFactory()->createInstance("org.openoffice.comp.helper.DatabaseMetaDataResultSet"),UNO_QUERY);
std::vector< std::vector< Any > > rRows;
@@ -1639,7 +1491,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs(
const rtl::OUString& /* schemaPattern */,
const rtl::OUString& /* typeNamePattern */,
const Sequence< sal_Int32 >& /* types */)
- throw(SQLException, RuntimeException, std::exception)
{
mysqlc_sdbc_driver::throwFeatureNotImplementedException("ODatabaseMetaData::getUDTs", *this);
return nullptr;