Oracle Solution for Error ora-29470

Solution for Oracle Error ORA-29470

ORA-29470: Effective userid or roles are not the same as when cursor was parsed

What triggered the Error:

e effective userid or roles on this call to DBMS_SQL are not the same as those at the time the cursor was parsed.

What should we do to fix it:

ke sure the effective userid and roles are the same as when cursor was pared.