com.triactive.jdo.store
Class SQLState

java.lang.Object
  extended by com.triactive.jdo.store.SQLState
Direct Known Subclasses:
PostgreSQLSQLState

public class SQLState
extends java.lang.Object

A SQLSTATE diagnostic code.

SQLSTATE is a 5-character string that some JDBC drivers return in their SQLExceptions to indicate status in a vendor-independent way. SQLSTATE can contain only digits and capital letters. The first two characters of SQLSTATE indicate a class; the following three characters indicate a subclass. Class codes are unique, but subclass codes are not; the meaning of a subclass code depends on the class code that accompanies it.

The initial character of the class and subclass indicates the source document that defines that return condition: