Skip to content

dbeaver/dbeaver#41407 Hide internal Firebird domains from column type list - #42665

Merged
serge-rider merged 1 commit into
dbeaver:develfrom
seonwooj0810:fix/issue-41407-firebird-system-domains
Nov 3, 2026
Merged

serge-rider merged 1 commit into
dbeaver:develfrom
seonwooj0810:fix/issue-41407-firebird-system-domains

Conversation

@seonwooj0810

@seonwooj0810 seonwooj0810 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #41407

Opening a column of a Firebird table froze the UI because the "Data Type" combo was filled with every row of RDB$FIELDS. FireBirdDataTypeCache loads all domains, including the system domains and the implicit RDB$<n> domain Firebird creates for each column declared without a domain, and the generic ColumnTypeNameListProvider keeps any name starting with a letter, so all of them became combo items (63839 in the reporter's database).

Change:

  • FireBirdTableColumn.getTypeName() now uses FireBirdColumnTypeNameListProvider, which drops RDB$-prefixed names from the list returned by the base provider. Custom values are still allowed, as before.
  • The domain cache itself is unchanged, because FireBirdTableColumn still looks up its own (possibly implicit) domain there to get its charset and data kind.
  • Added FireBirdColumnTypeNameListProviderTest: built-in types and user domains stay in the list, and RDB$1 / RDB$100010 / RDB$FIELD_NAME are left out. Before this change the column used the base provider, which returns those RDB$ names as well.

Verification done: full CE aggregate build mvn verify -T1C -Pproduct-dbeaver-ce,product-dbeaver-eclipse-ce (with dbeaver-common and datadam-api checked out as siblings) passes, and all tests in org.jkiss.dbeaver.ext.firebird.test pass, including the new one. I have not run it against a live Firebird 2.5 server.

AI disclosure: this change was investigated, written and verified with an AI coding assistant (Claude).

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@E1izabeth

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T10:11:50.997925Z 4f01dd3 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 4f01dd3a53

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider
serge-rider merged commit 847a910 into dbeaver:devel Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Freeze when oppening a table column in Firebird 2.5

4 participants