Oracle Error Message
PLS-00525: Within SQL statements, only equality comparisons of objects are allowed without a map or order function.
Reason for the Error
A map or order function was not provided for a relational comparison. Only equality comparisons may be used when a map or order function is not supplied.
Solution
Supply either a map or order function for the object. Otherwise change the program to use only equality comparisons.