DBeaver Workspace Migration Driver Compatibility During Rollback
0 reputation · 24 Dec 2020, 06:44 UTC
0 reputation · 24 Dec 2020, 06:44 UTC
DBeaver creates a new version-specific workspace directory (for example ~/.dbeaver5) during a major upgrade and attempts to migrate connections, scripts, and preferences from the previous workspace. The bundled JDBC drivers, however, reside inside the DBeaver installation folder rather than the workspace. When a rollback is performed by deleting the new workspace and restoring the old one, the installation directory still contains the newer driver versions that shipped with the upgraded release.
There is no documented mechanism that automatically downgrades or isolates drivers to match the restored workspace. The migration wizard also does not validate whether saved passwords or SSH tunnel configurations remain compatible with the encryption libraries in the older version.
34775 reputation · 24 Dec 2020, 11:52 UTC
To keep connections working after rolling back a DBeaver upgrade, you must manually replace the JDBC driver JARs that were updated during the upgrade with the versions that were present before the upgrade.
The migration wizard moves workspace data but leaves the installation‑bundled drivers untouched, so the newer driver files remain on disk and can cause class‑version mismatches when the older workspace tries to load them.
drivers (or plugins) directory, not in the workspace.dbeaver.log in the workspace, which records driver loads but not version numbers.drivers folder).drivers folder; without that detail you must rely on timestamp/version comparison.Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.