CHAInstance database schema

The CHAInstance table uses the following database schema for DB2(R) to store information about CHAInstance Entity EJBs:
Table 1. CHAInstance database schema
Column name Column type Max length Primary key? Usage
DISCRIM_CHAINSTANCE VARCHAR 32 NO Used to specify the type of the EJB instance in the EJB inheritance hierarchy.

Possible values for this column include:
  • CHAInstanceForRoot
  • CHAInstanceForSession
  • CHAInstance
PARENTID VARCHAR 128 NO Used to contain the ID of the parent CHAInstance of this CHAInstance when the two instances have a parent-child relationship.
INSTANCEID VARCHAR 128 YES Unique ID for this CHA Instance. These must be unique within the DB2 table.
NAME VARCHAR 80 NO Used to contain the name of the context being wrapped by the CHAInstance so that By Name queries can retrieve the context.
ISROOT SMALLINT 2 NO Used to indicate whether the CHAInstance is the root context. A null value means it is not.
CONTEXT LONG VARCHAR (binary) or BLOB Unbound NO Used to contain the context being wrapped by the CHAInstance.
TYPENAME VARCHAR 80 NO Used to indicate the type of the context being wrapped by the CHAInstance so that By Type queries can retrieve the context.