Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> question about public_dependency view and ideptree?

question about public_dependency view and ideptree?

From: <ryan_oracle_at_cox.net>
Date: Wed, 05 Nov 2003 07:39:25 -0800
Message-ID: <F001.005D5AB6.20031105073925@fatcity.com>


This comes from $ORACLE_HOME/rdbms/admin/utldtree.sql

I expected to see a dependency here, but did not. Any idea? Im testing because I need to use these views to write some code.

CREATE OR REPLACE PACKAGE X IS
  PROCEDURE Y;
END; CREATE OR REPLACE PACKAGE BY X IS
  PROCEDURE Y IS

     BEGIN
       NULL;
     END Y;

END X; CREATE OR REPLACE PACKAGE XX IS
    PROCEDURE YY;
END; CREATE OR REPLACE PACKAGE BODY XX IS
   PROCEDURE YY IS
      BEGIN 
        X.Y; -- not the dependency
      END YY;

END XX; I then execute procedure
DEPTREE_FILL('PACKAGE BODY','USER','XX); from utldtree.sql, I then query deptree_temptab and there are no dependencies. What am I missing?

 OBJECT_ID REFERENCED_OBJECT_ID NEST_LEVEL SEQ#

---------- -------------------- ---------- ----------
    205517                    0          0          0


Im lost here.... the procedure doesnt have alot of documentation. Should REFERENCE_OBJECT_ID be populated with the object_id of package X?

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: <ryan_oracle_at_cox.net
  INET: ryan_oracle_at_cox.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Nov 05 2003 - 09:39:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US