JDBC: Raise Exception in case of invalid connection string argument
Details
| Detail name | Value |
|---|---|
| Changelog Number | 18389 |
| Type | Improvement |
| Status | Resolved |
| Fix Versions | JDBC 24.0.0 |
| Resolution Date | 2024-03-11 |
Background
The current implementation of the JDBC connection string did not properly validate the parameters provided in the connection string, potentially leading to unexpected behavior, security vulnerabilities, or system errors when unknown parameters were included.
Improvement
The JDBC driver will now validate the connection string against all known parameters. If an unknown parameter is included in the connection string, an error will be thrown:
Exception: [ERROR] Connection String does not support ([ARGUMENT]) argument.
Changed behavior
The driver will raise an error is unknown parameters are included in the connection string.