The CHAInstance table uses the following database schema for DB2® to store information about CHAInstance Entity EJBs:
Column name | Column type | Max length | Primary key? | Usage |
---|---|---|---|---|
PARENTID | VARCHAR | 128 | NO | Used for CHA Instance EJB chaining function. This column is used to track the instance ID of the parent instance to which this CHA Instance is chained as a child. |
INSTANCEID | VARCHAR | 128 | YES | Unique ID for this CHA Instance. These must be unique within the DB2 table and cannot be repeated. |
NAME | VARCHAR | 80 | NO | The name of the Context being wrapped by the CHA instance. Used for By Name queries. |
ISROOT | SMALLINT | 2 | NO | Indicator field populated if CHA Instance is the Root Context, null if not. |
CONTEXT | LONG VARCHAR (binary) or BLOB | Unbound | NO | This is the physical Context instance wrapped by a given CHA Instance. |
TYPENAME | VARCHAR | 80 | NO | Type name assigned to the Context. Used for By Type queries. |