Search Results ota_forum_threads_pk
Overview
OTA_FORUM_THREADS is a transactional table in the OTA (Learning Management) schema of Oracle E-Business Suite, validated in both 12.1.1 and 12.2.2. It functions as the child of the forum structure: while OTA_FORUMS_B defines an individual discussion forum, OTA_FORUM_THREADS stores the individual topics ("threads") that comprise that forum. Each row represents one conversation topic to which forum messages are posted, and the table therefore acts as the organizational backbone of threaded discussion within Oracle Learning Management's collaboration and discussion features.
From a dimensional modeling perspective, the FK topology — a single parent reference to OTA_FORUMS_B plus multiple child references from OTA_FORUM_MESSAGES and OTA_PVT_FRM_THREAD_USERS — supports a heuristic Data Vault classification of hub-leaning. In practice, the surrogate key FORUM_THREAD_ID behaves as a durable business key anchor (hub) that links forum context to message and participant activity, while the descriptive attributes (SUBJECT, LAST_POST_DATE, REPLY_COUNT) function as satellite-style attributes. This classification should be treated as a modeling suggestion rather than a documented ETRM designation.
Key Information Stored
The documented physical schema contains 13 columns. The most significant are:
- FORUM_THREAD_ID — surrogate primary key, enforced by the unique index OTA_FORUM_THREADS_PK. This is the sole documented business-key candidate and the join key to dependent tables.
- FORUM_ID — foreign key to OTA_FORUMS_B, identifying the parent forum that owns the thread.
- SUBJECT — the displayed topic title of the thread.
- LAST_POST_DATE — timestamp of the most recent message posted to the thread, typically used for sorting and recency reporting.
- REPLY_COUNT — denormalized count of replies, enabling activity ranking without aggregating OTA_FORUM_MESSAGES.
- PRIVATE_THREAD_FLAG — indicates whether the thread is restricted in visibility.
- BUSINESS_GROUP_ID — Multi-Org / business group partitioning column.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the OAF/BC4J framework.
- CREATED_BY, CREATION_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — the standard EBS WHO columns for audit and concurrency tracking.
Common Use Cases and Queries
Typical reporting and integration scenarios include listing active threads per forum, ranking threads by reply volume, locating stale discussions, and identifying private versus public topics. A representative query joining the parent forum is:
SELECT t.forum_thread_id, t.subject, f.forum_name, t.reply_count, t.last_post_date FROM ota.ota_forum_threads t, ota.ota_forums_b f WHERE t.forum_id = f.forum_id AND t.business_group_id = :p_bg_id AND t.private_thread_flag = 'N' ORDER BY t.last_post_date DESC;- Thread activity rollup: filter on LAST_POST_DATE within a date range and aggregate REPLY_COUNT by FORUM_ID.
- Message drill-down: join FORUM_THREAD_ID to OTA_FORUM_MESSAGES to reconstruct full conversation content for a thread.
- Participant reporting: join to OTA_PVT_FRM_THREAD_USERS to identify users subscribed to or associated with each thread.
Because SUBJECT and REPLY_COUNT are stored directly on the row, high-volume discussion dashboards can be built without repeatedly scanning the message table.
Related Objects
The following objects are the most significant dependencies, based on documented FK relationships:
- OTA_FORUMS_B — parent forum; joined via OTA_FORUM_THREADS.FORUM_ID = OTA_FORUMS_B.FORUM_ID.
- OTA_FORUM_MESSAGES — child messages; joined via OTA_FORUM_MESSAGES.FORUM_THREAD_ID = OTA_FORUM_THREADS.FORUM_THREAD_ID.
- OTA_PVT_FRM_THREAD_USERS — thread-level user associations; joined via OTA_PVT_FRM_THREAD_USERS.FORUM_THREAD_ID = OTA_FORUM_THREADS.FORUM_THREAD_ID.
These three relationships define the complete documented referential neighborhood of the table and should be considered when designing extracts, purges, or data-migration scripts for discussion content.
-
INDEX: OTA.OTA_FORUM_THREADS_PK
12.2.2
owner:OTA, object_type:INDEX, object_name:OTA_FORUM_THREADS_PK, status:VALID,
-
INDEX: OTA.OTA_FORUM_THREADS_PK
12.1.1
owner:OTA, object_type:INDEX, object_name:OTA_FORUM_THREADS_PK, status:VALID,
-
Table: OTA_FORUM_THREADS
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_FORUM_THREADS, object_name:OTA_FORUM_THREADS, status:VALID, product: OTA - Learning Management , description: This a child of forum. This hold the topic that make up the forum. , implementation_dba_data: OTA.OTA_FORUM_THREADS ,
-
Table: OTA_FORUM_THREADS
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_FORUM_THREADS, object_name:OTA_FORUM_THREADS, status:VALID, product: OTA - Learning Management , description: This a child of forum. This hold the topic that make up the forum. , implementation_dba_data: OTA.OTA_FORUM_THREADS ,
-
TABLE: OTA.OTA_FORUM_THREADS
12.2.2
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_FORUM_THREADS, object_name:OTA_FORUM_THREADS, status:VALID,
-
TABLE: OTA.OTA_FORUM_THREADS
12.1.1
owner:OTA, object_type:TABLE, fnd_design_data:OTA.OTA_FORUM_THREADS, object_name:OTA_FORUM_THREADS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OTA_FTS_SHD
12.1.1
-
PACKAGE BODY: APPS.OTA_FTS_SHD
12.2.2
-
APPS.OTA_FTS_SHD dependencies on OTA_FORUM_THREADS
12.2.2
-
APPS.OTA_FTS_SHD dependencies on OTA_FORUM_THREADS
12.1.1
-
APPS.OTA_FTS_SHD dependencies on FND_MESSAGE
12.1.1
-
APPS.OTA_FTS_SHD dependencies on FND_MESSAGE
12.2.2
-
eTRM - OTA Tables and Views
12.2.2
description: Currently not used ,
-
eTRM - OTA Tables and Views
12.1.1
description: Currently not used ,
-
eTRM - OTA Tables and Views
12.2.2
description: Currently not used ,
-
eTRM - OTA Tables and Views
12.1.1
description: Currently not used ,