Skip to content

Conversation

@staticlibs
Copy link
Collaborator

This PR implements the following methods on the DatabaseMetadata:

  • getImportedKeys
  • getExportedKeys
  • getCrossReference

Testing: new tests added for foreign keys methods.

Fixes: #149

staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Dec 22, 2025
This is a backport of the PR duckdb#489 to `v1.4-andium` stable branch.

This PR implements the following methods on the `DatabaseMetadata`:

 - `getImportedKeys`
 - `getExportedKeys`
 - `getCrossReference`

Testing: new tests added for foreign keys methods.

Fixes: duckdb#149

Co-authored-by: Lukas Eder <lukas.eder@datageekery.com>
This PR implements the following methods on the `DatabaseMetadata`:

 - `getImportedKeys`
 - `getExportedKeys`
 - `getCrossReference`

Testing: new tests added for foreign keys methods.

Fixes: duckdb#149

Co-authored-by: Lukas Eder <lukas.eder@datageekery.com>
@staticlibs staticlibs merged commit 2faea29 into duckdb:main Dec 22, 2025
12 checks passed
staticlibs added a commit that referenced this pull request Dec 22, 2025
This is a backport of the PR #489 to `v1.4-andium` stable branch.

This PR implements the following methods on the `DatabaseMetadata`:

 - `getImportedKeys`
 - `getExportedKeys`
 - `getCrossReference`

Testing: new tests added for foreign keys methods.

Fixes: #149

Co-authored-by: Lukas Eder <lukas.eder@datageekery.com>
@staticlibs staticlibs deleted the foreign_keys_meta branch December 22, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

While connecting with DBeaver foreign key relationship is not shown in ER diagram

1 participant