JDBC: Only reconnect if reconnecting will allow a successful connection
Details
| Detail name | Value |
|---|---|
| Changelog Number | 13547 |
| Type | Improvement |
| Status | Resolved |
| Fix Versions | Exasol 7.1.4 |
| Resolution Date | 2021-12-22 |
Background
The JDBC driver tries to reconnect after every connection error. In some cases (fingerprint error, certificate validation error, or authentication failure), performing a reconnect cannot solve the problem.
Improvement
The JDBC driver will only attempt a reconnect if the reconnect could allow a successful connection. As a result, connection errors will be displayed immediately with a proper error message.