Can't see package body in plsql/developer

I can't seem to view package bodies inside pl/sql developer. I can extract the DDL and view it inside other tools, specifically the MyEclipse DB browser, but I've had no luck viewing the package body in pl/sql developer. I don't have any browser filters enabled that would hide package bodies so I'm wondering what else to check. I can see the package declaration in pl/sql developer, just not the package body.

Grant
 
In a PL/SQL Developer SQL window, run the query:

Code:
select distinct owner, name from all_source where type = 'PACKAGE BODY'
Does that list include the packages you think you should be able to see?
 
Another user's package bodies will only be visible if you have select privileges on the sys.dba_objects and sys.dba_source views. The "Use DBA views if available" preference (Tools > Preferences > Options tab page) needs to be enabled though.
 
I do have select privileges on the dba_objects and dba_source views. Setting the flag in the preferences did the trick. I did not have it enabled.

Thanks,

Grant
 
Back
Top