Message Oracle PLS-00525 - Within SQL statements, only equality comparisons of objects are allowed without a map or order function.

ERRORWithin SQL statements, only equality comparisons of objects are allowed without a map or order function.
CAUSEA 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.
ACTIONSupply either a map or order function for the object. Otherwise change the program to use only equality comparisons.