I have a problem which I believe is an extension of ORA-04043 issue. Whenever the database packages are deployed using 'CREATE OR REPLACE ..' option and then grants are given to the schemas to execute these packages, SYS_PLSQL_* TYPE objects are getting created in the grantee schemas which are INVALID.
The packages in question do contain pipelined functions and refcursor output functions.
I want to know -
- If this is a know issue
- Why are these objects getting created in the schemas which get the grants
- Why are the objects getting created in the grantee schema INVALID ?
I am using Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit.
Thanks.