You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jdbc: support categorized exceptions and SQLSTATE codes #119
We use sqlStateSQL codes now, but DatabaseMetaData.getSQLStateType() still returns 0. I think we should return sqlStateSQL here and close this issue.
As I see from other JDBC implementations (mysql-connector-j, mariadb-connector-j, pgjdbc), it seems we don't obligated to set an sqlstate code for each thrown SQLException.
Activity
jdbc: add support for a result set holdability
jdbc: add support for a result set holdability
Add support for JDBC result set type
Add support for a result set type and concurrency
Add support for a result set type and concurrency
Raise SQLException on methods of a closed Connection
Raise SQLException on methods of a closed Connection
Raise SQLException on methods of a closed Connection
Raise SQLException on methods of a closed Connection
Add support for a result set type and concurrency
Add support for a result set type and concurrency
Raise SQLException on methods of a closed Connection
Add support for a result set type and concurrency
Add support for a result set type and concurrency
Raise SQLException on methods of a closed Connection
Raise SQLException on methods of a closed Connection
Totktonada commentedon Oct 17, 2019
We use
sqlStateSQLcodes now, butDatabaseMetaData.getSQLStateType()still returns 0. I think we should returnsqlStateSQLhere and close this issue.As I see from other JDBC implementations (mysql-connector-j, mariadb-connector-j, pgjdbc), it seems we don't obligated to set an sqlstate code for each thrown SQLException.
See also https://bugs.mysql.com/bug.php?id=3520
jdbc: support for DatabaseMetaData.getSQLStateType
jdbc: support for DatabaseMetaData.getSQLStateType