comparison SQLSTATEs @ 393:a5d9c4408074

Update refs for Java 8 and JDBC 4.2
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 19 Nov 2020 21:49:39 +0100 (2020-11-19)
parents d4baf8a4b43a
children a7c7fc58d622
comparison
equal deleted inserted replaced
392:00c6bb1d84ed 393:a5d9c4408074
51 M1M19 response is not a result set 51 M1M19 response is not a result set
52 M1M20 object closed 52 M1M20 object closed
53 M1M25 failed reading from/writing to object stream 53 M1M25 failed reading from/writing to object stream
54 54
55 SQLState codes are used in SQLExceptions. 55 SQLState codes are used in SQLExceptions.
56 JDBC 4.1 defines the following SQLException subclass mappings: 56 JDBC 4.2 defines the following SQLException subclass mappings:
57 NonTransientSQLExceptions (fails when same operation executed again) 57 NonTransientSQLExceptions (fails when same operation executed again)
58 0A SQLFeatureNotSupportedException 58 0A SQLFeatureNotSupportedException
59 08 SQLNonTransientConnectionException 59 08 SQLNonTransientConnectionException
60 22 SQLDataException 60 22 SQLDataException
61 23 SQLIntegrityConstraintViolationException 61 23 SQLIntegrityConstraintViolationException
64 TransientSQLExeceptions (retry of same operation might succeed) 64 TransientSQLExeceptions (retry of same operation might succeed)
65 08 SQLTransientConnectionException 65 08 SQLTransientConnectionException
66 40 SQLTransactionRollbackException 66 40 SQLTransactionRollbackException
67 null SQLTimeoutException 67 null SQLTimeoutException
68 68
69 See also: http://docs.oracle.com/javase/7/docs/api/java/sql/SQLException.html 69 See also: http://docs.oracle.com/javase/8/docs/api/java/sql/SQLException.html
70 See also: https://en.wikipedia.org/wiki/SQLSTATE 70 See also: https://en.wikipedia.org/wiki/SQLSTATE
71 71