Oracle Error ORA-06534: Cannot access Serially Reusable package string

Oracle Error Message

ORA-06534: Cannot access Serially Reusable package string

Reason for the Error

The program attempted to access a Serially Reusable package in PL/SQL called from SQL context (trigger or otherwise). Such an access is currently unsupported.

Solution

Check the program logic and remove any references to Serially Reusable packages (procedure, function or variable references) which might happen in PL/SQL called from sql context (trigger or otherwise).