Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

DatabaseErrorCodes.h File Reference

Go to the source code of this file.

Defines

#define DATABASE_LAYER_OK   0
#define DATABASE_LAYER_ERROR   1
#define DATABASE_LAYER_INVALID_USER   2
#define DATABASE_LAYER_BAD_PASSWORD   3
#define DATABASE_LAYER_CONSTRAINT_VIOLATION   4
#define DATABASE_LAYER_SQL_SYNTAX_ERROR   5
#define DATABASE_LAYER_ALLOCATION_ERROR   6
#define DATABASE_LAYER_INCOMPATIBLE_FIELD_TYPE   7
#define DATABASE_LAYER_FIELD_NOT_IN_RESULTSET   8


Define Documentation

#define DATABASE_LAYER_ALLOCATION_ERROR   6
 

Definition at line 10 of file DatabaseErrorCodes.h.

#define DATABASE_LAYER_BAD_PASSWORD   3
 

Definition at line 7 of file DatabaseErrorCodes.h.

#define DATABASE_LAYER_CONSTRAINT_VIOLATION   4
 

Definition at line 8 of file DatabaseErrorCodes.h.

#define DATABASE_LAYER_ERROR   1
 

Definition at line 5 of file DatabaseErrorCodes.h.

Referenced by FirebirdPreparedStatement::CreateStatement(), and OracleDatabaseLayer::Open().

#define DATABASE_LAYER_FIELD_NOT_IN_RESULTSET   8
 

Definition at line 12 of file DatabaseErrorCodes.h.

Referenced by SqliteResultSet::LookupField(), PostgresResultSet::LookupField(), OracleResultSet::LookupField(), MysqlPreparedStatementResultSet::LookupField(), and FirebirdResultSet::LookupField().

#define DATABASE_LAYER_INCOMPATIBLE_FIELD_TYPE   7
 

Definition at line 11 of file DatabaseErrorCodes.h.

Referenced by FirebirdResultSet::GetResultBlob(), FirebirdResultSet::GetResultDate(), FirebirdResultSet::GetResultDouble(), FirebirdResultSet::GetResultLong(), and FirebirdResultSet::GetResultString().

#define DATABASE_LAYER_INVALID_USER   2
 

Definition at line 6 of file DatabaseErrorCodes.h.

#define DATABASE_LAYER_OK   0
 

Definition at line 4 of file DatabaseErrorCodes.h.

Referenced by FirebirdPreparedStatement::CreateStatement(), FirebirdPreparedStatementWrapper::FirebirdPreparedStatementWrapper(), OracleDatabaseLayer::Open(), FirebirdDatabaseLayer::PrepareStatement(), DatabaseErrorReporter::ResetErrorCodes(), PostgresPreparedStatementWrapper::RunQuery(), PostgresPreparedStatement::RunQuery(), MysqlPreparedStatement::RunQuery(), FirebirdPreparedStatement::RunQuery(), FirebirdDatabaseLayer::RunQuery(), PostgresPreparedStatement::RunQueryWithResults(), MysqlPreparedStatement::RunQueryWithResults(), FirebirdPreparedStatementWrapper::RunQueryWithResults(), FirebirdPreparedStatement::RunQueryWithResults(), and FirebirdDatabaseLayer::RunQueryWithResults().

#define DATABASE_LAYER_SQL_SYNTAX_ERROR   5
 

Definition at line 9 of file DatabaseErrorCodes.h.


Generated on Sat May 13 17:31:34 2006 for databaselayer by  doxygen 1.4.1