Kaydet (Commit) 76e6c6f3 authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

Add some comments on foreign key retrieval (firebird-sdbc)

These two methods don't seem to be used at all within the LO codebase.
They are also extremely complicated to implement hence will be left for
later implementation -- my part implementation will be put on the wiki
firebird page.

Change-Id: I72922a4f3c4705fdcc3bbca140d6df64a1e16253
üst 868cd246
...@@ -1463,6 +1463,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns( ...@@ -1463,6 +1463,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys( uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
const Any& catalog, const OUString& schema, const OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const OUString& schema, const OUString& table ) throw(SQLException, RuntimeException)
{ {
// List the columns in a table which are foreign keys. This is actually
// never used anywhere in the LO codebase currently. Retrieval from firebird
// requires using a 5-table join.
SAL_WARN("connectivity.firebird", "Not yet implemented"); SAL_WARN("connectivity.firebird", "Not yet implemented");
(void) catalog; (void) catalog;
(void) schema; (void) schema;
...@@ -1473,6 +1476,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys( ...@@ -1473,6 +1476,9 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys( uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
const Any& catalog, const OUString& schema, const OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const OUString& schema, const OUString& table ) throw(SQLException, RuntimeException)
{ {
// List the columns in a table (which must be primary key, or possibly just
// unique) that are referred to in other foreign keys. Will have a similar
// 5-table or so join as in getExportedKeys.
SAL_WARN("connectivity.firebird", "Not yet implemented"); SAL_WARN("connectivity.firebird", "Not yet implemented");
(void) catalog; (void) catalog;
(void) schema; (void) schema;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment