Results for “question_bank_id”

32 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OTA_QBANK_QUESTIONS is a bridge (intersection) table in the Oracle E-Business Suite Learning Management module (OTA) that resolves the many-to-many relationship between question banks and individual questions. In a learning management implementation, a single question can legitimately belong to more than one question bank, and any given bank aggregates many questions drawn from the shared repository. OTA_QBANK_QUESTIONS materializes each such pairing as one row, providing the associative structure that allows banks to be assembled without duplicating the underlying question definitions.

Under the heuristic Data Vault classification derived from its foreign key topology, this object is best modeled as a link table. It carries no descriptive attributes of its own beyond standard audit and concurrency columns; its purpose is to record the association between two hub-like entities, OTA_QUESTION_BANKS and OTA_QUESTIONS. This classification is a modeling suggestion rather than a documented Oracle construct, and it is consistent with the table's narrow, pure-relationship column profile.

Key Information Stored

The documented physical schema of OTA.OTA_QBANK_QUESTIONS in ETRM 12.2.2 contains nine columns. The most significant are:

  • QUESTION_BANK_ID — Foreign key to OTA_QUESTION_BANKS, identifying the bank to which the question is assigned.
  • QUESTION_ID — Foreign key to OTA_QUESTIONS, identifying the question being placed in that bank.
  • BUSINESS_GROUP_ID — Multi-tenant discriminator that scopes the row to a specific business group, which is essential for data security and for correct filtering in HRMS-style queries.
  • OBJECT_VERSION_NUMBER — Optimistic locking counter used by the OAF/ADF framework to detect concurrent updates.
  • CREATED_BY, CREATION_DATE — WHO columns recording the creating user and timestamp.
  • LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — WHO columns capturing the most recent modification, its author, and the login session.

The primary key, OTA_QBANK_QUESTIONS_PK, is a composite surrogate key on (QUESTION_BANK_ID, QUESTION_ID). Because this composite is defined as the primary key and as the table's only documented unique index, it also serves as the business-key candidate: the pair of IDs is guaranteed unique, preventing the same question from being attached twice to the same bank. Note the absence of a standalone sequence-generated surrogate column; the composite natural key is the identity.

Common Use Cases and Queries

Typical workloads include reporting the contents of a question bank, counting questions per bank, and identifying which banks reuse a given question. A basic content listing joins the bridge to both parents:

  • SELECT qb.name, q.question_id, q.question_text FROM ota_qbank_questions qbq, ota_question_banks qb, ota_questions q WHERE qbq.question_bank_id = qb.question_bank_id AND qbq.question_id = q.question_id AND qbq.business_group_id = :bg_id;
  • Reverse lookup: find every bank containing a specific question by filtering on QUESTION_ID.
  • Aggregate counts: SELECT question_bank_id, COUNT(*) FROM ota_qbank_questions GROUP BY question_bank_id to size each bank.
  • Integrity and audit reporting: comparing CREATION_DATE and LAST_UPDATE_DATE ranges to detect recently modified bank membership.

Because the table is a pure link, it should always be queried with its parents to obtain meaningful descriptive attributes; the bridge itself yields only identifiers.

Related Objects

  • OTA_QUESTION_BANKS — Parent entity; join on QUESTION_BANK_ID.
  • OTA_QUESTIONS — Parent entity; join on QUESTION_ID.
  • OTA_QBANK_QUESTIONS_PK — Composite primary key index on (QUESTION_BANK_ID, QUESTION_ID).
  • OTA_QUESTION_BANKS_PK — Referenced unique key on the bank parent.
  • OTA_QUESTIONS_PK — Referenced unique key on the question parent.
  • Downstream test and assessment objects in the OTA module that consume bank membership (for example, delivered-test and question-assignment entities) depend transitively on this link.

Oracle Proprietary, Confidential Information — Legal Notices apply.