Legend for data models

Database tables within the WebSphere Commerce database schema are organized into functional groups, called data models.

The referential integrity relationship between database tables is illustrated using the following symbols:

Diagram of a rounded dotted rectangle, which represents a weak dependent entity.A rounded, dotted rectangle represents a weak dependent entity. Instances of a weak dependent entity cannot be uniquely identified without determining its relationship to other entities. The primary key to an instance of a weak dependent entity consists entirely of foreign keys.

Example: A description table for any object is a weak dependent entity. The description cannot exist by itself and the primary key to it is the primary key of the object and the language of the description.

Diagram of a rounded, solid rectangle, which represents a strong dependent entity.A rounded, solid rectangle represents a strong dependent entity. Instances of a strong dependent entity cannot be uniquely identified without determining its relationship to other entities. The primary key to an instance of a strong dependent entity contains foreign keys, but does not consist entirely of foreign keys.

Example: A vehicle registration table. The primary key consists of the car manufacturer number and the license number of the owner.

Diagram of a rectangle, which represents an independent entity. A rectangle represents an independent entity. Instances of an independent entity can be uniquely identified without determining its relationship to other entities. The primary key to an instance of an independent entity does not contain any foreign keys.

Example: An employee record. Employee ID is the primary key of this entity.

Diagram of a solid relationship line, which represents an identifying relationship between two tables. A solid relationship line represents an identifying relationship. An identifying relationship occurs when instances of the child entity are identified through association with a parent entity. The primary key attributes of the parent entity become primary key attributes of the child.

Example: A relationship between the employee table (parent) and the payroll table (foreign). Employee ID is the primary key of the employee table. However it is also both the primary key and a foreign key of the payroll table.

Diagram of a dotted relationship line with a solid relationship symbol, which represents a mandatory non-identifying relationship between two tables. A dotted relationship line with a solid relationship symbol represents a mandatory non-identifying relationship. A mandatory non-identifying relationship occurs when key attributes from the parent entity must become non-key attributes of the child entity. That is, the inherited non-key attributes of the child entity in this relationship cannot be NULL.

Example: A relationship between the department table (parent) and the employee table (foreign). Each employee record has the department number as a foreign key.

Diagram of a dotted relationship line with a solid and open relationship symbol, which represents an optional non-identifying relationship between two tables. A dotted relationship line with a solid and open relationship symbol represents an optional non-identifying relationship. An optional non-identifying relationship occurs when foreign keys from the parent entity can become non-key attributes of the child entity. That is, the inherited non-key attributes of the child entity in this relationship can be NULL.

Example: A relationship between the office cubicle table (parent) and the employee table (foreign). The employee can get a cubicle number as a foreign key or or the cubicle number can be null if the employee works at home or away from the office.

Diagram of a relationship line that links back to the original table, which indicates a recursive relationship. A relationship line that links back to the original table indicates a recursive relationship. Recursive relationships must be optional non-identifying relationships.

Example: A relationship where the parent is the employee table and the child is also the employee table. The relationship is in the form of a foreign key with the name "Manager_ID". This shows that the manager is an employee who can manage other employees.

Feature Pack 7 or later
The referential integrity relationship between some database tables is illustrated with Crow's Foot Notation using the following symbols:
  • Crow's Foot Notation: Exactly One Exactly One
  • Crow's Foot Notation: Zero or One Zero or One
  • Crow's Foot Notation: Zero, One, or More Zero, One, or More
  • Crow's Foot Notation: One or More One or More