[CONJ-886] SQLState '08' is incorrectly mapped to SQLNonTransientConnectionException instead of SQLTransientConnectionException Created: 2021-05-31 Updated: 2021-07-26 Resolved: 2021-07-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 2.7.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Jaikiran Pai | Assignee: | Diego Dupin |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The javadoc of java.sql.SQLTransientConnectionException[1] states: ``` [1] https://docs.oracle.com/javase/8/docs/api/java/sql/SQLTransientConnectionException.html |
| Comments |
| Comment by Jaikiran Pai [ 2021-05-31 ] |
|
Never mind, it turns out the current code is correct because the `java.sql.SQLNonTransientConnectionException`[1] also says the same thing when it comes to the SQLState value: ``` [1] https://docs.oracle.com/javase/8/docs/api/java/sql/SQLNonTransientConnectionException.html |
| Comment by Jaikiran Pai [ 2021-05-31 ] |
|
> Closing this issue as not a bug. Looks like I can't do that. Please close this when you get a chance. |