com.triactive.jdo.store.adapter
Class PostgresqlSqlState.ClassCode

java.lang.Object
  extended bycom.triactive.jdo.store.adapter.PostgresqlSqlState.ClassCode
Enclosing class:
PostgresqlSqlState

public static class PostgresqlSqlState.ClassCode
extends java.lang.Object

Contains constants for known SQLSTATE class codes. This list comes from pgsql/src/include/utils/errcodes.h


Field Summary
static java.lang.String CARDINALITY_VIOLATION
           
static java.lang.String CONFIG_FILE_ERROR
           
static java.lang.String CONNECTION_EXCEPTION
           
static java.lang.String DATA_EXCEPTION
           
static java.lang.String DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST
           
static java.lang.String EXTERNAL_ROUTINE_EXCEPTION
           
static java.lang.String EXTERNAL_ROUTINE_INVOCATION_EXCEPTION
           
static java.lang.String FEATURE_NOT_SUPPORTED
           
static java.lang.String INSUFFICIENT_RESOURCES
           
static java.lang.String INTEGRITY_CONSTRAINT_VIOLATION
           
static java.lang.String INTERNAL_ERROR
           
static java.lang.String INVALID_AUTHORIZATION_SPECIFICATION
           
static java.lang.String INVALID_CATALOG_NAME
           
static java.lang.String INVALID_CURSOR_NAME
           
static java.lang.String INVALID_CURSOR_STATE
           
static java.lang.String INVALID_GRANTOR
           
static java.lang.String INVALID_ROLE_SPECIFICATION
           
static java.lang.String INVALID_SCHEMA_NAME
           
static java.lang.String INVALID_SQL_STATEMENT_NAME
           
static java.lang.String INVALID_TRANSACTION_INITIATION
           
static java.lang.String INVALID_TRANSACTION_STATE
           
static java.lang.String INVALID_TRANSACTION_TERMINATION
           
static java.lang.String LOCATOR_EXCEPTION
           
static java.lang.String NO_DATA
           
static java.lang.String[] NOT_RETRYABLE
          An array representing all those class codes that are known not to be worth retrying.
static java.lang.String OBJECT_NOT_IN_PREREQUISITE_STATE
           
static java.lang.String OPERATOR_INTERVENTION
           
static java.lang.String PROGRAM_LIMIT_EXCEEDED
           
static java.lang.String SQL_ROUTINE_EXCEPTION
           
static java.lang.String SQL_STATEMENT_NOT_YET_COMPLETE
           
static java.lang.String SUCCESSFUL_COMPLETION
           
static java.lang.String SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION
           
static java.lang.String SYSTEM_ERROR
           
static java.lang.String TRANSACTION_ROLLBACK
           
static java.lang.String TRIGGERED_ACTION_EXCEPTION
           
static java.lang.String TRIGGERED_DATA_CHANGE_VIOLATION
           
static java.lang.String WARNING
           
static java.lang.String WITH_CHECK_OPTION_VIOLATION
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESSFUL_COMPLETION

public static final java.lang.String SUCCESSFUL_COMPLETION
See Also:
Constant Field Values

WARNING

public static final java.lang.String WARNING
See Also:
Constant Field Values

NO_DATA

public static final java.lang.String NO_DATA
See Also:
Constant Field Values

SQL_STATEMENT_NOT_YET_COMPLETE

public static final java.lang.String SQL_STATEMENT_NOT_YET_COMPLETE
See Also:
Constant Field Values

CONNECTION_EXCEPTION

public static final java.lang.String CONNECTION_EXCEPTION
See Also:
Constant Field Values

TRIGGERED_ACTION_EXCEPTION

public static final java.lang.String TRIGGERED_ACTION_EXCEPTION
See Also:
Constant Field Values

FEATURE_NOT_SUPPORTED

public static final java.lang.String FEATURE_NOT_SUPPORTED
See Also:
Constant Field Values

INVALID_TRANSACTION_INITIATION

public static final java.lang.String INVALID_TRANSACTION_INITIATION
See Also:
Constant Field Values

LOCATOR_EXCEPTION

public static final java.lang.String LOCATOR_EXCEPTION
See Also:
Constant Field Values

INVALID_GRANTOR

public static final java.lang.String INVALID_GRANTOR
See Also:
Constant Field Values

INVALID_ROLE_SPECIFICATION

public static final java.lang.String INVALID_ROLE_SPECIFICATION
See Also:
Constant Field Values

CARDINALITY_VIOLATION

public static final java.lang.String CARDINALITY_VIOLATION
See Also:
Constant Field Values

DATA_EXCEPTION

public static final java.lang.String DATA_EXCEPTION
See Also:
Constant Field Values

INTEGRITY_CONSTRAINT_VIOLATION

public static final java.lang.String INTEGRITY_CONSTRAINT_VIOLATION
See Also:
Constant Field Values

INVALID_CURSOR_STATE

public static final java.lang.String INVALID_CURSOR_STATE
See Also:
Constant Field Values

INVALID_TRANSACTION_STATE

public static final java.lang.String INVALID_TRANSACTION_STATE
See Also:
Constant Field Values

INVALID_SQL_STATEMENT_NAME

public static final java.lang.String INVALID_SQL_STATEMENT_NAME
See Also:
Constant Field Values

TRIGGERED_DATA_CHANGE_VIOLATION

public static final java.lang.String TRIGGERED_DATA_CHANGE_VIOLATION
See Also:
Constant Field Values

INVALID_AUTHORIZATION_SPECIFICATION

public static final java.lang.String INVALID_AUTHORIZATION_SPECIFICATION
See Also:
Constant Field Values

DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST

public static final java.lang.String DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST
See Also:
Constant Field Values

INVALID_TRANSACTION_TERMINATION

public static final java.lang.String INVALID_TRANSACTION_TERMINATION
See Also:
Constant Field Values

SQL_ROUTINE_EXCEPTION

public static final java.lang.String SQL_ROUTINE_EXCEPTION
See Also:
Constant Field Values

INVALID_CURSOR_NAME

public static final java.lang.String INVALID_CURSOR_NAME
See Also:
Constant Field Values

EXTERNAL_ROUTINE_EXCEPTION

public static final java.lang.String EXTERNAL_ROUTINE_EXCEPTION
See Also:
Constant Field Values

EXTERNAL_ROUTINE_INVOCATION_EXCEPTION

public static final java.lang.String EXTERNAL_ROUTINE_INVOCATION_EXCEPTION
See Also:
Constant Field Values

INVALID_CATALOG_NAME

public static final java.lang.String INVALID_CATALOG_NAME
See Also:
Constant Field Values

INVALID_SCHEMA_NAME

public static final java.lang.String INVALID_SCHEMA_NAME
See Also:
Constant Field Values

TRANSACTION_ROLLBACK

public static final java.lang.String TRANSACTION_ROLLBACK
See Also:
Constant Field Values

SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION

public static final java.lang.String SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION
See Also:
Constant Field Values

WITH_CHECK_OPTION_VIOLATION

public static final java.lang.String WITH_CHECK_OPTION_VIOLATION
See Also:
Constant Field Values

INSUFFICIENT_RESOURCES

public static final java.lang.String INSUFFICIENT_RESOURCES
See Also:
Constant Field Values

PROGRAM_LIMIT_EXCEEDED

public static final java.lang.String PROGRAM_LIMIT_EXCEEDED
See Also:
Constant Field Values

OBJECT_NOT_IN_PREREQUISITE_STATE

public static final java.lang.String OBJECT_NOT_IN_PREREQUISITE_STATE
See Also:
Constant Field Values

OPERATOR_INTERVENTION

public static final java.lang.String OPERATOR_INTERVENTION
See Also:
Constant Field Values

SYSTEM_ERROR

public static final java.lang.String SYSTEM_ERROR
See Also:
Constant Field Values

CONFIG_FILE_ERROR

public static final java.lang.String CONFIG_FILE_ERROR
See Also:
Constant Field Values

INTERNAL_ERROR

public static final java.lang.String INTERNAL_ERROR
See Also:
Constant Field Values

NOT_RETRYABLE

public static final java.lang.String[] NOT_RETRYABLE
An array representing all those class codes that are known not to be worth retrying. The array is sorted for efficient searching.



Copyright 2001-2007 The TJDO Project All Rights Reserved.