Oracle Error Message
QSM-02115: mv references a remote object and is refreshed ON COMMIT
Reason for the Error
The capability in question is not supported when the materialized view references a remote object and is refreshed ON COMMIT.
Solution
Re-phrase the query to avoid the reference to the remote object or alter the materialized view to be refreshed ON DEMAND.