Hi,

1. General database error (unrecoverable). Perhaps "retry later" when
> service is back up.
> 2. Client violated integrity constraints (attempted to insert an Employee
> with an invalid Company id)
>

The first two characters of the SQL state should work in this case.
Recoverable are:

- Class Code 23 Constraint Violation
- Class Code 22: Data Exception

Other exceptions are usually not recoverable. See also:

http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/core/r0sttmsg.htm

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to