Skip to content

feat: add Oracle Database support#181

Open
datlechin wants to merge 6 commits intomainfrom
feat/oracle-support
Open

feat: add Oracle Database support#181
datlechin wants to merge 6 commits intomainfrom
feat/oracle-support

Conversation

@datlechin
Copy link
Owner

Summary

Closes #102

  • Add Oracle Database as a new supported database type
  • Full DatabaseDriver protocol implementation (OracleDriver) with Oracle-specific SQL for tables, columns, indexes, foreign keys, DDL, pagination (OFFSET/FETCH), schema switching (ALTER SESSION SET CURRENT_SCHEMA)
  • OCI-based OracleConnection wrapper with stub headers (requires Oracle Instant Client for actual connectivity)
  • COracle C bridge module with OCI stub headers for compilation
  • All UI and utility integrations (37 files): Theme, ConnectionForm with service name field, TypePicker with Oracle types, SQLDialect with Oracle keywords, completion provider, filter/escape/statement generators, export, import, query builder, URL formatter

New files

  • TablePro/Core/Database/OracleConnection.swift — OCI connection wrapper
  • TablePro/Core/Database/OracleDriver.swift — Full DatabaseDriver implementation
  • TablePro/Core/Database/COracle/ — C bridge module (OCI stub headers + modulemap)
  • TablePro/Assets.xcassets/oracle-icon.imageset/ — Oracle icon asset

Test plan

  • Verify project compiles with Oracle type added to all switch statements
  • Verify Oracle appears in connection form with correct default port (1521)
  • Verify Oracle service name field appears in connection form
  • Verify Oracle-specific data types appear in type picker
  • Integration test with Oracle Instant Client installed

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

- ConnectionStorage: persist oracleServiceName in StoredConnection
- OracleConnection: add serviceName parameter for OCI connect string
- OracleDriver: pass oracleServiceName to OracleConnection
- DatabaseManager: add Oracle schema init in connectToSession
- AppDelegate: register oracle URL scheme
- MultiStatement: use SET TRANSACTION READ WRITE for Oracle
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.

Add Oracle Database support

1 participant