Skip to content

Test: #2521 after #2535#2537

Closed
yahonda wants to merge 4 commits into
rsim:masterfrom
yahonda:test-2521-after-2535
Closed

Test: #2521 after #2535#2537
yahonda wants to merge 4 commits into
rsim:masterfrom
yahonda:test-2521-after-2535

Conversation

@yahonda

@yahonda yahonda commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Verify PR #2521 (all_objects query) applies cleanly after PR #2535 (db link support) merges. Conflict in create_oracle_enhanced_users.sql resolved by combining both grant sets.

yahonda and others added 4 commits April 13, 2026 22:37
…ribe

Replace the 4-way UNION ALL query across all_tables, all_views, and
all_synonyms with a single all_objects query for the common TABLE/VIEW
path. Synonym targets are resolved via a second all_synonyms query only
when needed.

- Add ORDER BY to preserve lookup priority (table, view, owner synonym,
  public synonym)
- Add regression test covering table, view, private synonym and public
  synonym resolution for the same underlying table
- Grant CREATE/DROP PUBLIC SYNONYM to test users

Refs rsim#2429

Co-Authored-By: N.lohitha <lohithavarma36@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix the adapter to support self.table_name = "table@db_link" end-to-end:
- describe (connection.rb): query all_tables@link / all_views@link
- column_definitions: append @link to all_tab_cols, all_col_comments
- pk_and_sequence_for: append @link to all_sequences, all_constraints; add .to_s for Symbol
- table_exists?: add return false
- visit_Arel_Table (oracle_common.rb): @link in FROM only
- quote_table_name: keep existing strip behavior
Add database link spec (oracle_enhanced_remote_link) to
test remote table access via RemoteEmployee model.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yahonda yahonda marked this pull request as ready for review April 16, 2026 07:47
@yahonda

yahonda commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator Author

Closing the test has been done.

@yahonda yahonda closed this Apr 17, 2026
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.

1 participant