Open xsgao-github opened 1 year ago
I see this issue as well. When an error occurs, the SQLState is null (0), which means "successful completion" according to the wiki.
And this issue was reported more than one year ago. Could someone help to fix this?
When making a connection failed, the
SQLException
does not return the correct SQLState:At a minimum, we should reveal these two values:
A general list of SQLStates can also be found here.