Skip to content

Sort tables and views by name in reverse-engineering - #280

Merged
bigorn0 merged 2 commits into
developfrom
fix/oracle-re-stable-entity-order
Dec 2, 2026
Merged

bigorn0 merged 2 commits into
developfrom
fix/oracle-re-stable-entity-order

Conversation

@bigorn0

@bigorn0 bigorn0 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Why

Reverse-engineering lists tables and views in whatever order Oracle returns them, which can change from one run to the next. The model then lists entities in a different order each time, and Studio's Oracle feature test fails from time to time (run 334916). Tables and views are now sorted by owner and name.

What to look at

  • Users see tables and views sorted alphabetically after reverse-engineering, instead of mostly in creation order.
  • Goes with hackolade/studio#7005, which updates the expected model. Merge both together: with only one of them on develop, the Studio test fails on most runs.

🤖 Generated with Claude Code

Oracle returns rows in no set order, so the reverse-engineered model listed
tables in a different order from one run to the next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bigorn0 bigorn0 self-assigned this Nov 30, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@chulanovskyi-bs
chulanovskyi-bs enabled auto-merge (squash) December 2, 2026 08:58
@bigorn0
bigorn0 disabled auto-merge December 2, 2026 09:31
@bigorn0
bigorn0 merged commit c258d59 into develop Dec 2, 2026
3 of 6 checks passed
@bigorn0
bigorn0 deleted the fix/oracle-re-stable-entity-order branch December 2, 2026 09:31
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.

2 participants