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

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

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

Contains constants for known SQLSTATE class codes. This list is a merging of all codes defined in the SQL/92 and X/Open standards.


Field Summary
static java.lang.String AMBIGUOUS_CURSOR_NAME
           
static java.lang.String CARDINALITY_VIOLATION
           
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 DYNAMIC_SQL_ERROR
           
static java.lang.String FEATURE_NOT_SUPPORTED
           
static java.lang.String INTEGRITY_CONSTRAINT_VIOLATION
           
static java.lang.String INVALID_AUTHORIZATION_SPECIFICATION
           
static java.lang.String INVALID_CATALOG_NAME
           
static java.lang.String INVALID_CHARACTER_SET_NAME
           
static java.lang.String INVALID_CONNECTION_NAME
           
static java.lang.String INVALID_CURSOR_NAME
           
static java.lang.String INVALID_CURSOR_STATE
           
static java.lang.String INVALID_EXCEPTION_NUMBER
           
static java.lang.String INVALID_SCHEMA_NAME
           
static java.lang.String INVALID_SQL_DESCRIPTOR_NAME
           
static java.lang.String INVALID_SQL_STATEMENT_NAME
           
static java.lang.String INVALID_TRANSACTION_STATE
           
static java.lang.String INVALID_TRANSACTION_TERMINATION
           
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 REMOTE_DATABASE_ACCESS_ERROR
           
static java.lang.String SUCCESS_WITH_WARNING
           
static java.lang.String SUCCESSFUL_COMPLETION
           
static java.lang.String SYNTAX_ERROR_OR_ACCESS_VIOLATION
           
static java.lang.String SYNTAX_ERROR_OR_ACCESS_VIOLATION_IN_DIRECT_SQL_STATEMENT
           
static java.lang.String SYNTAX_ERROR_OR_ACCESS_VIOLATION_IN_DYNAMIC_SQL_STATEMENT
           
static java.lang.String TRANSACTION_ROLLBACK
           
static java.lang.String TRIGGERED_DATA_CHANGE_VIOLATION
           
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

SUCCESS_WITH_WARNING

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

NO_DATA

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

DYNAMIC_SQL_ERROR

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

CONNECTION_EXCEPTION

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

FEATURE_NOT_SUPPORTED

public static final java.lang.String FEATURE_NOT_SUPPORTED
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

SYNTAX_ERROR_OR_ACCESS_VIOLATION_IN_DIRECT_SQL_STATEMENT

public static final java.lang.String SYNTAX_ERROR_OR_ACCESS_VIOLATION_IN_DIRECT_SQL_STATEMENT
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_CHARACTER_SET_NAME

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

INVALID_TRANSACTION_TERMINATION

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

INVALID_CONNECTION_NAME

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

INVALID_SQL_DESCRIPTOR_NAME

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

INVALID_CURSOR_NAME

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

INVALID_EXCEPTION_NUMBER

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

SYNTAX_ERROR_OR_ACCESS_VIOLATION_IN_DYNAMIC_SQL_STATEMENT

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

AMBIGUOUS_CURSOR_NAME

public static final java.lang.String AMBIGUOUS_CURSOR_NAME
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_VIOLATION

public static final java.lang.String SYNTAX_ERROR_OR_ACCESS_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

REMOTE_DATABASE_ACCESS_ERROR

public static final java.lang.String REMOTE_DATABASE_ACCESS_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.