Fixed Exasol JDBC API contract for method Driver.connect()
Details
| Detail name | Value |
|---|---|
| Changelog Number | 26625 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 7.1.0 |
| Fix Versions | JDBC 26.2.8 |
| Resolution Date | 2026-06-30 |
Description
According to the JDBC API, the Driver method {{connect(String url, Properties info)}} must return null when the driver does not support the given url .
However the Exasol JDBC driver evaluated the passed Properties and when the argument contained an unsupported field method threw exception.
Workaround
There is no workaround and the connection string “url” has to be valid.
Fix
If the URL is not supported, Driver.connect() returns null and does not check the “info”.