Search Results hr_dm_hierarchies
Overview
HR_DM_HIERARCHIES is a Human Resources (PER) module table in the Oracle E-Business Suite HR schema. It functions as a metadata repository that stores the hierarchical relationships between other tables registered within the HR data management framework. Specifically, it records parent-child relationships between tables, allowing the application to understand how the various data structures interrelate. This metadata is essential for data migration, archival, and purging operations, where the correct processing order of related tables must be derived from the defined hierarchy.
Based on the foreign key structure mined from the ETRM metadata, the heuristic Data Vault classification for this object is a link. This classification suggests the table operates as an associative entity that resolves many-to-many or parent-to-child relationships between records in other tables, rather than serving as a standalone hub of business entities or a descriptive satellite. The table contains fourteen documented columns and is owned by the HR schema, with a status of VALID in both Oracle EBS 12.1.1 and 12.2.2 environments.
Key Information Stored
The table is anchored by the surrogate primary key HIERARCHY_ID, enforced through the unique index HR_DM_HIERARCHIES_PK. This column uniquely identifies each recorded hierarchy relationship and is the documented business-key candidate for the table.
- HIERARCHY_ID — Surrogate primary key uniquely identifying each relationship row.
- HIERARCHY_TYPE — Classifies the nature or category of the hierarchy relationship being defined.
- TABLE_ID — Foreign key to HR_DM_TABLES, identifying the child table in the relationship.
- PARENT_TABLE_ID — Foreign key to HR_DM_TABLES, identifying the parent table in the relationship.
- COLUMN_NAME — The column in the child table that participates in the join.
- PARENT_COLUMN_NAME — The column in the parent table that participates in the join.
- PARENT_ID_COLUMN_NAME — The identifier column name used to resolve the parent reference.
- SQL_ORDER — Governs the sequence in which related tables are processed during hierarchical operations.
- SECURITY_GROUP_ID — Foreign key to FND_SECURITY_GROUPS, enforcing multi-tenant or business group data segregation.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY, CREATION_DATE — Standard Oracle EBS audit columns tracking record creation and modification.
The presence of both TABLE_ID and PARENT_TABLE_ID, each referencing HR_DM_TABLES, confirms the self-referencing link pattern that this table models. The SECURITY_GROUP_ID foreign key aligns the metadata with Oracle's standard security group partitioning.
Common Use Cases and Queries
This table is primarily consulted by the HR data management framework during data migration, purge, and archive processing. It enables dependent logic to order table operations correctly so that parent records are handled before child records. Typical queries resolve the full relationship chain between a given table and its parent.
- Retrieving all relationships for a specific table:
SELECT * FROM HR.HR_DM_HIERARCHIES WHERE TABLE_ID = :p_table_id ORDER BY SQL_ORDER; - Joining to HR_DM_TABLES to obtain table names:
SELECT h.HIERARCHY_ID, c.TABLE_NAME child_table, p.TABLE_NAME parent_table FROM HR.HR_DM_HIERARCHIES h, HR.HR_DM_TABLES c, HR.HR_DM_TABLES p WHERE h.TABLE_ID = c.TABLE_ID AND h.PARENT_TABLE_ID = p.TABLE_ID; - Filtering by security group for multi-org environments:
SELECT * FROM HR.HR_DM_HIERARCHIES WHERE SECURITY_GROUP_ID = :p_security_group_id; - Determining processing order within a hierarchy: order results by SQL_ORDER ascending.
Reporting use cases include generating dependency maps for data migration projects, auditing the metadata configuration for consistency, and validating that every registered child table has an appropriate parent linkage before undertaking a purge operation.
Related Objects
The following objects are most significant in relation to HR_DM_HIERARCHIES, based on the documented foreign key and primary key relationships:
- HR_DM_TABLES — Referenced twice via HR_DM_HIERARCHIES.TABLE_ID and HR_DM_HIERARCHIES.PARENT_TABLE_ID; provides the table names that this hierarchy links.
- FND_SECURITY_GROUPS — Referenced via HR_DM_HIERARCHIES.SECURITY_GROUP_ID; enforces data segregation across business groups.
- HR.HR_DM_HIERARCHIES_PK — Primary key index on HIERARCHY_ID, ensuring uniqueness.
- The broader HR data management (DM) metadata tables that share the HR_DM prefix, which together describe the migration and purge configuration for HR data sets.
Together these objects form the metadata backbone that Oracle EBS uses to understand and traverse table relationships during HR data management operations.
-
Table: HR_DM_HIERARCHIES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_HIERARCHIES, object_name:HR_DM_HIERARCHIES, status:VALID, product: PER - Human Resources , description: This entity will contain the relationships between tables. The following relationship will be recorded: , implementation_dba_data: HR.HR_DM_HIERARCHIES ,
-
Table: HR_DM_HIERARCHIES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_HIERARCHIES, object_name:HR_DM_HIERARCHIES, status:VALID, product: PER - Human Resources , description: This entity will contain the relationships between tables. The following relationship will be recorded: , implementation_dba_data: HR.HR_DM_HIERARCHIES ,
-
TABLE: HR.HR_DM_HIERARCHIES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_HIERARCHIES, object_name:HR_DM_HIERARCHIES, status:VALID,
-
VIEW: HR.HR_DM_HIERARCHIES#
12.2.2
owner:HR, object_type:VIEW, object_name:HR_DM_HIERARCHIES#, status:VALID,
-
TABLE: HR.HR_DM_HIERARCHIES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_HIERARCHIES, object_name:HR_DM_HIERARCHIES, status:VALID,
-
APPS.HR_DM_GEN_MAIN SQL Statements
12.2.2
-
Table: HR_DM_TABLES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_TABLES, object_name:HR_DM_TABLES, status:VALID, product: PER - Human Resources , description: This entity contains a HRMS table listing that will be processed by the data migrator. , implementation_dba_data: HR.HR_DM_TABLES ,
-
SYNONYM: PUBLIC.HR_DM_HIERARCHIES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HR_DM_HIERARCHIES, status:VALID,
-
Table: HR_DM_TABLES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_TABLES, object_name:HR_DM_TABLES, status:VALID, product: PER - Human Resources , description: This entity contains a HRMS table listing that will be processed by the data migrator. , implementation_dba_data: HR.HR_DM_TABLES ,
-
VIEW: HR.HR_DM_HIERARCHIES#
12.2.2
-
SYNONYM: APPS.HR_DM_HIERARCHIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_DM_HIERARCHIES, status:VALID,
-
SYNONYM: APPS.HR_DM_HIERARCHIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_DM_HIERARCHIES, status:VALID,
-
APPS.HR_DM_GEN_MAIN SQL Statements
12.1.1
-
APPS.HR_DM_LIBRARY SQL Statements
12.2.2
-
APPS.HR_DM_LIBRARY SQL Statements
12.1.1
-
TABLE: HR.HR_DM_TABLES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_TABLES, object_name:HR_DM_TABLES, status:VALID,
-
TRIGGER: APPS.HR_DM_HIERARCHIES_WHO
12.2.2
owner:APPS, object_type:TRIGGER, object_name:HR_DM_HIERARCHIES_WHO, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_GEN_MAIN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_MAIN, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_GEN_TDS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_TDS, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_IMP_BG_WHERE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_IMP_BG_WHERE, status:VALID,
-
TRIGGER: APPS.HR_DM_HIERARCHIES_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:HR_DM_HIERARCHIES_WHO, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_LIBRARY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_LIBRARY, status:VALID,
-
TABLE: HR.HR_DM_TABLES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_DM_TABLES, object_name:HR_DM_TABLES, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_IMP_BG_WHERE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_IMP_BG_WHERE, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_GEN_TDS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_TDS, status:VALID,
-
PACKAGE: APPS.HR_DM_GEN_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_DM_GEN_MAIN, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_GEN_TUPS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_TUPS, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_GEN_TUPS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_TUPS, status:VALID,
-
TRIGGER: APPS.HR_DM_HIERARCHIES_WHO
12.2.2
-
PACKAGE BODY: APPS.HR_DM_GEN_MAIN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_GEN_MAIN, status:VALID,
-
PACKAGE BODY: APPS.HR_DM_LIBRARY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_DM_LIBRARY, status:VALID,
-
TRIGGER: APPS.HR_DM_HIERARCHIES_WHO
12.1.1
-
PACKAGE: APPS.HR_DM_GEN_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_DM_GEN_MAIN, status:VALID,
-
PACKAGE: APPS.HR_DM_IMP_BG_WHERE
12.1.1
-
PACKAGE: APPS.HR_DM_IMP_BG_WHERE
12.2.2
-
PACKAGE: APPS.HR_DM_GEN_MAIN
12.1.1
-
PACKAGE: APPS.HR_DM_GEN_MAIN
12.2.2
-
APPS.HR_DM_IMP_BG_WHERE SQL Statements
12.1.1
-
APPS.HR_DM_IMP_BG_WHERE SQL Statements
12.2.2
-
APPS.HR_DM_GEN_TDS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.HR_DM_GEN_MAIN
12.2.2
-
PACKAGE BODY: APPS.HR_DM_GEN_MAIN
12.1.1
-
APPS.HR_DM_GEN_TDS SQL Statements
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.HR_DM_LIBRARY
12.2.2
-
PACKAGE BODY: APPS.HR_DM_LIBRARY
12.1.1
-
APPS.HR_DM_GEN_MAIN dependencies on HR_DM_HIERARCHIES
12.1.1
-
APPS.HR_DM_GEN_TUPS dependencies on HR_DM_HIERARCHIES
12.1.1
-
APPS.HR_DM_IMP_BG_WHERE dependencies on HR_DM_HIERARCHIES
12.2.2