Changeset: 6c7db77bd59d for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6c7db77bd59d Modified Files: java/SQLSTATEs Branch: Dec2011 Log Message:
SQLSTATE: add subclass hints from JDBC 4.1 diffs (22 lines): diff --git a/java/SQLSTATEs b/java/SQLSTATEs --- a/java/SQLSTATEs +++ b/java/SQLSTATEs @@ -34,3 +34,18 @@ 3BM30 autocommit mode active 2DM30 autocommit mode active 42M31 user/role already exists 42M32 user/role not found + +TODO: +JDBC 4.1 suggests the following SQLException subclass mapping: +NonTransientSQLExeceptions (fails when same operation executed again) +0A SQLFeatureNotSupportedException +08 SQLNonTransientConnectionException +22 SQLDataException +23 SQLIntegrityConstraintViolationException +28 SQLInvalidAuthorizationException +42 SQLSyntaxErrorException +TransientSQLExeceptions (retry of same operation might succeed) +08 SQLTransientConnectionException +40 SQLTransactionRollbackException + SQLTimeoutException + _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
