Skip to content

dbeaver/pro#8981 add api for reference panel in cloudbeaver#4313

Open
HocKu7 wants to merge 6 commits into
develfrom
dbeaver/pro#8981-api-pref-panel-for-cloudbeaver
Open

dbeaver/pro#8981 add api for reference panel in cloudbeaver#4313
HocKu7 wants to merge 6 commits into
develfrom
dbeaver/pro#8981-api-pref-panel-for-cloudbeaver

Conversation

@HocKu7
Copy link
Copy Markdown
Contributor

@HocKu7 HocKu7 commented Apr 30, 2026

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 30, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 29 complexity · 2 duplication

Metric Results
Complexity 29
Duplication 2

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.

Comment thread server/bundles/io.cloudbeaver.server/schema/service.sql.graphqls Outdated

type SQLResultColumnReference {
"Name of the association (foreign key) that connects this column to the target entity. For reverse references (isReference=true) this is the name of the association in the target entity that points back to this column)"
associationName: String! @since(version: "26.1.0")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

26.1.1 everywhere

row: SQLResultRow!,
associationName: String,
dataFormat: ResultDataFormat,
isReference: Boolean @since(version: "26.1.0")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SInCE must be after func definition

}

@NotNull
private DBSEntityAssociation findForwardAssociation(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be in the base model (dbeaver)?


@Property
public List<WebSQLQueryResultColumnReference> getReferences() {
List<WebSQLQueryResultColumnReference> references = new ArrayList<>();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we can get refs from model and here just convert into web beans

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.

3 participants