org.edg.info
Class DBConstants

java.lang.Object
  extended byorg.edg.info.DBConstants

public class DBConstants
extends java.lang.Object

Holds any error codes that are thrown by the MySQL database and are significant to rgma. Contains other db related constants such as the table names used in the Registry db.


Field Summary
static java.lang.String CONSUMER_TABLE
          The consumer table name.
static java.lang.Object DB_LOCK
          Semaphore used to co-ordinate updates to the Registry db.
static java.lang.String FIXED_INT_TABLE
          The fixedIntColumns table name.
static java.lang.String FIXED_REAL_TABLE
          The fixedRealColumns table name.
static java.lang.String FIXED_STRING_TABLE
          The fixedStringColumns table name.
static java.lang.String INFO_TABLE
          The info table name.
static java.lang.String PRODUCER_TABLE
          The producer table name.
static int s_duplicateKeyErrorCode
          Error code used by MySQL when duplicate records are found during an SQL update.
 
Constructor Summary
DBConstants()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_duplicateKeyErrorCode

public static int s_duplicateKeyErrorCode
Error code used by MySQL when duplicate records are found during an SQL update.


DB_LOCK

public static final java.lang.Object DB_LOCK
Semaphore used to co-ordinate updates to the Registry db.


PRODUCER_TABLE

public static final java.lang.String PRODUCER_TABLE
The producer table name.

See Also:
Constant Field Values

CONSUMER_TABLE

public static final java.lang.String CONSUMER_TABLE
The consumer table name.

See Also:
Constant Field Values

FIXED_INT_TABLE

public static final java.lang.String FIXED_INT_TABLE
The fixedIntColumns table name.

See Also:
Constant Field Values

FIXED_REAL_TABLE

public static final java.lang.String FIXED_REAL_TABLE
The fixedRealColumns table name.

See Also:
Constant Field Values

FIXED_STRING_TABLE

public static final java.lang.String FIXED_STRING_TABLE
The fixedStringColumns table name.

See Also:
Constant Field Values

INFO_TABLE

public static final java.lang.String INFO_TABLE
The info table name.

See Also:
Constant Field Values
Constructor Detail

DBConstants

public DBConstants()