dbeaver / dbeaver/dbeaver

[MSSQL] Connection is not automatically established after terminating session

Open
#36,096 0 comments 0 reactions 0 assignees View on GitHub
x:mssql xf:connection
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

### Description

1. Open two instances with SQL Server
2. Terminate session for instance-2 in instance-1
3. Try to expand node in instance-2

**Actual**: get error. Manual reconnection helps.

> The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.

**Expected**: after datasource in instance-2 has been invalidated, the connection is reestablished automatically

https://github.com/user-attachments/assets/40c6f462-033b-4ab1-8a2f-5caa600efe6f

### DBeaver Version

24.2.4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.