view SQLSTATEs @ 85:073ee535234b embedded

Ok. Now everything compiles back with Ant again. Moved the Embedded stuff to the temporary MonetDBJavaLite repository before moving into the suggested MonetDBLite repository. The soon generated Embedded Connection jar will have a dependency on the regular JDBC driver jar. The JDBC driver jar is independent, however if attempted to create an Embedded Connection with will try to load the respective class from the class loader, failing if the Embedded Connection jar is not present. If anyone in the group has expertise on Java Class dynamic loading, please contact me because there might be issues on this. Removed the pom.xml file because the regular maven compilation fails.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Fri, 30 Dec 2016 18:55:13 +0000 (2016-12-30)
parents a5a898f6886c
children d6abd1ffffbb
line wrap: on
line source
08M01 opening logfile failed
01M02 redirect warning
M0M03 illegal arguments (invalid call of internal function)
01M03 illegal arguments (invalid call of internal function)
M0M04 only supported in SQL mode
M1M05 invalid argument (user supplied)
M0M06 savepoint is not MonetSavepoint
01M07 unrecognised clientinfo property
01M08 read-only conection mode not supported
01M09 transaction mode not supported
M0M10 protocol violation/unexpected server response
01M10 unexpected server output
01M11 server-client autocommit state mismatch
M0M12 matching client handle referenced by server not found
01M13 concurrency mode not supported
01M14 scrolling mode not supported
01M15 holdability mode not supported
M1M16 multistatements not supported in batches
M1M17 result set not expected for DML or DDL-statement
01M18 generated keys for columns not supported
M1M19 response is not a result set
M1M20 object closed
01M21 cursors not supported
0AM21 cursors not supported
01M22 JDBC escape syntax not supported
01M23 field size limitation not supported
01M24 query time out not supported
M1M25 failed reading from/writing to object stream
08M26 invalid URI
M0M27 unknown error
22M28 invalid BLOB format
M0M29 assert
3BM30 autocommit mode active
2DM30 autocommit mode active
42M31 user/role already exists
42M32 user/role not found
08M33 connection timeout
0AM34 Java generics not supported
42M35 sequence not found
42M36 cannot restart sequence with NULL
2BM37 dependent objects still exist

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