Oracle Error ORA-22952: Nested Table equality requires a map method on the element ADT

Oracle Error Message

ORA-22952: Nested Table equality requires a map method on the element ADT

Reason for the Error

Nested Table equality was tried where the element ADT did not have a map method defined on it.

Solution

Define a map method on the element ADT..