bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

Weblogic Relationship Role --> Configuration

Tasks Additional Documentation Attributes

Overview

Represents the mapping between two roles in a relation. You can specify maps for the following types of relations:

- A role to a table, which you specify in the associated weblogic-rdbms-bean and ejb-relation elements.

- A 'local' bean to other 'local' beans. You can map multiple columns if the key implementing the relation is a compound key.

- A 'remote' bean. For remote beans, you can only specify a single column-map because the primary key of the remote bean is opaque.

Tasks

Using the EJB Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

Attributes

Attribute Label | Description | Value Constraints
--- | --- | ---
Relationship Role Name | Specifies the name of a relationship role. If you specified an ejb-relationship role name the ejb-jar descriptor file, then this value must match the name in ejb-jar. Otherwise, concatenate the ejb-name of the bean participating in the role with any cmr-field-name, using a '.' character between each name. Attribute: RelationshipRoleName | Configurable: yes Readable: yes Writable: yes
Group Name | Specifies the name of a field group. A field-group represents a subset of the cmp and cmr-fields of a bean. Related fields in a bean can be put into groups which are faulted into memory together as a unit. Attribute: GroupName | Configurable: yes Readable: yes Writable: yes
DBCascade Delete | Specifies that a cascade delete uses the cascade-delete facilities of the underlying DBMS. If you enable this feature in weblogic-cmp-rdbms-jar, you must also enable it in the ejb-jar descriptor. In addition, you must set up your database tables to enable cascade deletes. By default, this feature is not enabled and the EJB container removes the beans involved in a cascade delete by issuing an individual SQL DELETE statement for each bean. Attribute: DBCascadeDelete | Configurable: yes Readable: yes Writable: yes