Skip to content

feat(import): SQL Server connections from DBeaver (refs #516) - #630

Merged
danielnuld merged 1 commit into
mainfrom
feat/516-import-mssql
Sep 28, 2026
Merged

danielnuld merged 1 commit into
mainfrom
feat/516-import-mssql

Conversation

@danielnuld

Copy link
Copy Markdown
Owner

Refs #516 — the DBeaver half; Navicat still needs a real .ncx export to measure its ConnType for SQL Server, so the issue stays open.

  • Ids measured, not guessed, from DBeaver's own plugins/org.jkiss.dbeaver.ext.mssql/plugin.xml: provider sqlserver (drivers microsoft, azure, jtds, babelfish — all TDS) and the older mssql. The old provider also carries Sybase ASE drivers (sybase_jtds, sybase_jconn, sypase_jconn): those are reported as skipped with reason "Sybase", never imported as SQL Server.
  • Named instance: from the host (server\INSTANCE) or the JDBC URL (instanceName=, jTDS instance=); an instance drops the port, since our driver takes one or the other and the SQL Browser finds it.
  • Encryption → our encryption field: Microsoft encrypt=true/mandatory → require, strict → strict, false/optional → off (it still encrypts the login); jTDS ssl=require|authenticate|request|off.
  • Tests: nominal with the driver's encrypt property, instance from the host, jTDS URL, Sybase skipped, Oracle still unsupported (Navicat fixture). Manual note updated.

Note: driverFor normalizes spaces away, so a Navicat ConnType spelled "SQL Server"/"SQLSERVER" would already map; that is to be confirmed with a real export before closing #516.

The provider and driver ids come from DBeaver's own plugin.xml:
"sqlserver" (microsoft, azure, jtds, babelfish) and the older "mssql",
which also carries Sybase ASE drivers; those are reported as Sybase rather
than imported as SQL Server. A named instance comes from the host
(server\INSTANCE) or the JDBC URL, dropping the port for the SQL Browser;
the encryption from the URL or the driver's encrypt property (Microsoft's
encrypt=false still encrypts the login: our "off"), or jTDS's ssl.
@danielnuld danielnuld added the area:frontend Interfaz web sobre webview label Sep 28, 2026
@danielnuld
danielnuld merged commit a105506 into main Sep 28, 2026
13 checks passed
@danielnuld
danielnuld deleted the feat/516-import-mssql branch September 28, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Interfaz web sobre webview

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant