Determine the hierarchy of objects based on the dependency.

Hi all

All packages in the database has invalidated due to a problem. You need to find the object hierarchy in oracle.

Is it possible that I can the oracle object I the hierarchically based on the dependency?

Is there a metadata table that stores this information?

Example: Say, there are 10 packages. Package 1 depends on package 2 and 3-based package 2 and so on... and say package 10 is not dependent on.

I need the list packages in the way below.

Package of 10
Package9
Package8
Package8
:
:
:
Package1

Please let me know if you need any details.

Thanks and greetings
Nana Akkivalli.

Something like this:

select * from dba_dependencies where 1=1 and name ='PKGABC' and type = 'PACKAGE BODY'
union all
select * from dba_dependencies where 1=1 and referenced_name ='PKGABC' and type = 'PACKAGE BODY'

Also look for
deptree_fill in the oracle documentation

http://docs.Oracle.com/CD/A57673_01/doc/Server/doc/ADG73/CH11.htm

See you soon,.
Manik.

Tags: Database

Similar Questions

  • The groups C3750G and object based ACL

    Hi all

    East of the groups of objects based ACL Supportepar C3750G switches? I found nothing on the web site of Cisco on this subject.

    Hi All,

    Is Object Groups based ACLs supported on C3750G switches? I could not find anything on the Cisco web site about this.

    Hello

    Check out the link on the subject below Group ACL, it is supported with 12.4 (20) T realease but I do not think that it is supported with cisco 3750G switch series, what I see navigator in cisco. Hope Uncle helps!

    http://www.Cisco.com/en/us/docs/iOS/sec_data_plane/configuration/guide/sec_object_group_acl.html#wp1055872

    So useful note valauble post

    Ganesh.H

  • Dynamically retrieve "rank" in the hierarchy to determine the next member to be inserted into the structure?

    Hello

    I have a hierarchy with the structures of members following leaves:

    Depending on which division they are ZEN-A, ZEN - B and C ZEN with 7 numbers after them.

    Is there a way to dynamically retrieve the Member in the ZEN-A, ZEN-B and C ZEN in three separate properties so that the user DRG can determine the next member must be added?

    For example, if I have a structure that looks like this:

    ZEN-A0000001
    ZEN-A0000002
    ZEN-A0000003
    ZEN-A0000004

    I want a property which would show the user DRG WHAT ZEN-A0000004 is the largest number so that he or she must insert ZEN-A0000005.

    Thank you!

    Hello

    How do you combine them?

    If something like this ParentABCD-AliasABCD

    Then, you can use the formula Concat to do the same thing:

    Concat ((HierNodePropValue (Hierachy2, ABBREV (), PropValue (Core.ParentName)))-, (HierNodePropValue (Hierachy2, ABBREV (), PropValue (Custom.AliasXXX))))

    Thank you

  • Determine the compensation period based on the specific date

    I'm developing an application in the APEX and need determine the compensation based on an entered date period.  Our pay period is 14 days and pay period 1 begins after the last pay period of the previous year, which started in any day in December (so, for this year, the pay period 1 began January 11, because the last pay period in 2014 began Dec. 28 and went to January 10).  Some years we have 26 pay periods and in a few years, we have 27.  Does anyone have ideas on how to extract the number of pay for something like this using PL/SQL period?

    If you store the payperiods inside a table with i.e. four columns startdate, enddate, year and periodnumber. You can easily query on this table.

    Kind regards

    Mark

  • How to determine the number of pixels of an object in a digital photograph?

    Hello world. I want to determine the number of pixels in an object that is part of a digital photo. I use cameras to film of ice pieces, breaking with tide glaciers or ice cliffs. I want to know the size of the ice segment that capture my digital photos. I know that the width and height of the cliff of ice in metres already, so I thought that I could convert the equivalent of 1 pixel:? m is really what I want to do. This way, whenever I see a block of ice, breakup, I can pull up the photo, describe the piece, calculate how many pixels to fill the area of ice removed by piece break and convert into zone meters 2 - giving me my order of size. If anyone has any ideas on how to do really, I would appreciate it thanks so much community. I thought Photoshop or Fireworks might help me with this, Ricky

    Make your selection

    Select the histogram tab, and then click the symbol at the top right.

    Choose expanded view

    See this:

  • [CS2] [VB] How can I determine the type of object to a PageItem?

    I use InDesign CS2 and VBScript

    Loop to the bottom of the PageItems in a Page, I need determine the Type of object (TextFrame, group, GraphicLine... each process) and PageItem accordingly.

    Is there a method/function VBS wiil returns the Type of an object as a string or a value. Or what I need to check the existence/non-existence of a particular property associated with a particular object for this type?

    Alternatively, is there a JavaScript function that will do what I can call VBScript?

    For the record: TypeName is what you need.

    For example, when the cursor is planted in the text return TypeName (Ind.Selection (1)) 'PointInsertion.' When a text block is selected, it returns "TextFrame.

  • Is there a way to dynamically determine the number of parameters to a procedure side Server?

    Hello

    This is a helper method used to call a server-side function that traverses the bindVars parameter to fill the PARAMETERS of the function. Is there a way to dynamically determine the parameters input/output based on the procedure name in the stmt parameter? No member of the CallableStatement class looked promising, but the getParameterMetaData() in the PreparedStatement class method seemed it might be useful lead. However, I have not found any (yet) a detailed description of how to use it.

    protected Object callStoredFunction (int sqlReturnType, String stmt,

    Object [] bindVars) {}

    CallableStatement st = null;

    try {}

    // 1. Create a JDBC CallabledStatement

    St = getDBTransaction () .createCallableStatement)

    ("" start?: = '+stmt+ ";" end; ", 0);

    // 2. Register for the first variable binding for the return value

    st.registerOutParameter (1, sqlReturnType);

    If (bindVars! = null) {}

    // 3. Loop on values for the bind variables passed, if any

    for (int z = 0; z < bindVars.length; z ++) {}

    // 4. Set the value of vars binding provided by the user in the stmt

    st.setObject (z + 2, bindVars [z]);

    }

    }

    // 5. Set the value of vars binding provided by the user in the stmt

    st.executeUpdate ();

    // 6. Returns the value of the first variable binding

    Return st.getObject (1);

    }

    catch (SQLException e) {}

    throw new Aexception.getLocalizedMessage (e);

    }

    {Finally

    If (st! = null) {}

    try {}

    // 7. Close statement

    St.Close ();

    }

    catch (SQLException e) {}

    }

    }

    }

    James

    PreparedStatement.getParameterMetaData () subject is exactly what you need for this task.

    Once you have the ParameterMetaData you can ask how many parameters are present, and how they are. Parameters are numbered from 1 to n, and you can use ParameterMetaData.getParameterMode (1); to get the function of parameter 1. The modes are defined as static values of the ParameterMetaData object. Check out the doc at http://docs.oracle.com/javase/7/docs/api/java/sql/ParameterMetaData.html

    Timo

  • Determine the name of class LVOOP? d ' a class of child...

    Hello

    I have a number of modules (classes) that inherit from a base class called "Module".  I have all these in an array of type 'Module', I would like to save some information of each of these modules, but I need to make the distinction between each module.

    Is there a way to determine the class name of the data cable?

    Can I use the flattened string Variant, but I was wondering if it had built in property for this node/function?

    Thank you
    Jonathan

    Examples of joint:

    Malkieri,

    There is no generation in function that does exactly what you are looking for, but you can use the 'Get LV class Path' VI to return the *.lvclass of an object path given.  Using this way, you can either parse the name, or you can use Server VI to get the name of the class, as shown in the picture as an attachment.

    Chris M

  • How can I determine the position of the mouse in a 2D image control

    I have an app where I would like the user to be able to interact with objects in a 2D image control with the mouse.  To do this, I need to translate between the screen coordinates, which are transmitted with the events of mouse and in the control of 2D image.

    The problem that I am running is that I can't find a way to determine the screen coordinates of the top left corner of the drawing/client of the 2D image control area.  I tried to use the 'Position' of the image control property, but this results in a mismatch because of the difference between the upper-left corner of the image control (including the label, etc.) and the upper left corner of the drawing area.  See attached VI.

    Does anyone know how to get the coordinate of the screen from the corner of the drawing of the control of the photo area?

    Mark Moss

    I tend to use the mouse in the image control property to get the position.  Deals with things like the passage of origin for you.

  • Determine the NIF port used by the HEART when it is configured in a port channel

    I recently saw an excellent video of live Cisco UCS troubleshooting performance that showed how to track traffic network within Cisco UCS. The speaker made a comment however, to determine that NIF is used by a high HEAT when port-channels are used between the FEX and FI there are different commands to run. You will need to determine the outcome of hash-load balancing. Unfortunately, he never entered what were these commands.

    Then when we have pinned port-channel instead of HIFs and NIFs veths, what commands will indicate which way is used?

    Matt,

    You can use this command:

    B (nxos) # sh port-channel - balance load< this="" will="" tell="" you="" the="" load="" balance="" method="">

    If you use source-dest-ip as in my case, you can use this command:

    B (nxos) # sh port-channel - the balance of the charge-transfer interface port-channel ID vlan ID x.x.x.x y.y.y.y dst - ip, src - ip and it will show you something like this:

    Lack of params will be substituted by 0.

    Algorithm to balance the load on the switch: source-dest-ip
    crc8_hash: 109 port id coming out: EthernetX / Y  < this="" is="" what="" you="" are="" looking="" for="">
    Param (s) used to balance the load to calculate:
    DST - ip: y.y.y.y
    SRC - ip: x.x.x.x
    DST - mac: 0000.0000.0000
    CBC - mac: 0000.0000.0000

    For the blade, depends on which the active vNIC is, for the FEX, depends on pinning, based on the server is located in the blade slot.  Strange servers go through odd links and same servers through the same ports.

    Remember to rate helpful answers.

    -Kenny

  • How to determine the instance for a given entity vSphere vCenter

    I often need to generate output or act on entities in vSphere (VM, vSphere clusters, clusters of DTS, etc.) on multiple vCenter instances. I can easily run scripts that will iterate through all the virtual machines after connecting to multiple vCenter instances using Connect-VIServer.  I could not find anything in search of he from Get-Member output. As a result of the way Parent property recursive (show the parent object of get-view-ViewType HostSystem) does not lead on behalf of the vCenter bifurcation. I want to know is if there is a way to determine what bifurcation of vCenter manages a particular entity.

    OR

    It's a situation where it is not possible to determine the instance of vCenter, but rather the script must iterate $global: defaultviservers and use the server setting?

    Try like this (I only show during a VMHost, but most of the other object must offer the same possibility).

    .Net object #.

    $esx = get-VMHost-name MyEsx

    $esx. Uid.Split(':') [0]. Split('@') [1]

    vSphere object #.

    $esx = get-view ViewType - HostSystem-filter @{'name '=' MyEsx'}

    $esx. Client.ServiceUrl.Split('/') [2]

  • Determine the unused space in the virtual hard drives

    I will determine the unused space in my virtual hard drives.  I want to:

    • Select a virtual machine
    • the first vmdk disk is always the OS disk in this environment.  How much space was put in service, and how much is actually used?

    • The other disks are data application.  What is the total space on these non-OS disks, and how much of this space is actually used?

    Thank you!

    You then get the results when you run this adapted version?

    Get - VM |

    Select Name,

    @{N = "Capacity of the system disk"; E = {}

    $_. Hard drives | Where {$_.} Name - eq 'Disk 1'} |

    Select CapacityGB - ExpandProperty

    }},

    @{N = 'Disk system used'; E = {}

    $hdC = get-VMGuest - VM $_. %{$_. Guest.Disks} | Where {$_.} Path - eq "C:\". »}

    [math]: round (($hdC.CapacityGB-$hdC.FreeSpaceGB), 1).

    }},

    @{N = "Another capacity of disks"; E = {}

    $_. Hard drives | Where {$_.} Name - not "disk 1"} |

    Measure-object-property CapacityGB-sum |

    Select sum - ExpandProperty

    }},

    @{N = 'other disks used'; E = {}

    [math]: Round ((Get-VMGuest-VM $_ | % {$_.)) Guest.Disks} | Where {$_.} Path - not "C:\". »} | %{

    $_. CapacityGB - $_. FreeSpaceGB

    } | Measure-object-sum |

    Select - ExpandProperty Sum), 1).

    }}

  • Script to determine the type of OS related

    Hello

    I am trying to determine the version or the name of the operating system used by the Client of the view for use in a Powershell script. I know that in the variables view / volatile environment that ViewClient_Type stores Windows, but I would like to get more detailed, then just information Windows. I was wondering if anyone had come across similar scenarios and might be able to provide assistance or suggestions on ways to circumvent this. The environment is running VMWare View 5.0.

    I tried to use a remote WMI query - that works fine for a user admin, but the majority of users is an admin rather than on the local client, and I'm a little reluctant to the idea of having to change the WMI security on each client to make it work.

    Any help would be great.

    Thank you

    Alan

    Try this one..# ==============================================================================================
    #
    #
    # NAME: ADCompOSinfo
    #
    # AUTHOR: Mohamed Garrana ,
    # DATE  : 3/25/2010
    #
    # COMMENT:
    # This script connects to Active Directory OU or just the root of the domain and recursivly gets all the computer objects
    # for each AD computer object it gets the Opertating system Type , Version and Service pack using information of the AD object
    # ============================================================================================== 
    
    function get-alladcomputers { 
    
        Trap { Write-Host -ForegroundColor Red "   <<< Error >>>  could not connect to Active directory, please make sure that ADpath var is correctly SET !"
            Break 
    
        } 
    
        $ADpath = "LDAP://DC=mantrac,DC=win2k,DC=dom"
        $searcher = New-Object DirectoryServices.DirectorySearcher
        $RootSearch = New-Object directoryservices.directoryentry $ADpath
        $searcher.searchroot = $RootSearch
        $searcher.filter = "(objectClass=computer)"
        $allcomps = $searcher.findall()
        foreach ($comp in $allcomps) { get-adcomputerinfo }
        $objs = $allcomps | Measure-Object
        $objcount = $objs.Count
        Write-Host -BackgroundColor green -ForegroundColor blue " Script succesfully Completed on $objcount Active Directory computer objects"
        } 
    
    function get-adcomputerinfo {
        BEGIN { }
        PROCESS  {
        Write-Host $comp.Properties.name
        try {
        $name = $comp.Properties.name[0]
        $os= $comp.Properties.operatingsystem[0]
        $osver= $comp.Properties.operatingsystemversion[0]
        $ossp=$comp.Properties.operatingsystemservicepack[0]
        }
        Catch {
        Write-Host -ForegroundColor Red "   <<< WHoops ... >>>  $name : Error reading a required property from the AD computer object, this might be a cluster resource name or the property has a null value . execution will continue anyway ;)"
            continue
            }
        finally { 
    
        $computer = New-Object psobject
        $Computer | Add-Member NoteProperty Name ($name)
        $computer | Add-Member NoteProperty OperatingSystem ($os)
        $Computer | Add-Member NoteProperty OSVersion ($osver)
        $computer | Add-Member Noteproperty OSServicePack ($ossp)
        Write-Output $computer
        }
        }
        END{}
    }
    #set your variables :-  
    
    #setting the ADpath variable
    $ADpath = "LDAP://DC=microsoft,DC=com" # this will grap all the AD computer objects in the microsoft.com domain
    #$ADpath = "LDAP://OU=Marketing,DC=Microsoft,DC=dom" #this will grap all the AD computer objects in the marketing OU in the microsoft domain 
    
    #you can use the script like this to export the output into a csv file with all the computers and their OS information
    $outfile = "c:\test\ADcomps2.csv" #sets the location of the out csv file if you'r going to use Export-csv
    get-alladcomputers | Export-Csv $outfile 
    
    #you can use the script like this to see a nice grid view of all the computers and their OS information
    get-alladcomputers | Out-GridView
    

    Cheers, Udin

  • WebServiceConnection.getJaxWSPort () - could not determine the wsdl ports

    Hey all,.

    I have an ADF application that communicates with a Web Service through a Web Service proxy. I have to configure the Web Service end point when running, so I followed the steps described in this blog: http://biemond.blogspot.com/2012/02/changing-your-adf-connections-in.html

    This works very well when building the Web Service proxy using the constructor that takes the WSDL URL and port as arguments:


    Context ctx is ADFContext.getCurrent () .getConnectionsContext ();.

    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup ("SpiderPawsService");       

    SpiderPawsService spiderPawsService = new SpiderPawsService (wsc.getWsdlUrl (), wsc.getModel () .getName ());

    SpiderPawsPort spiderPawsPort = spiderPawsService. getPawsPart();

    However, an exception is thrown stating "could not determine the wsdl ports" when getting a handle on the Web Service proxy by doing this:

    SpiderPawsService spiderPawsService = wsc.getJaxWSPort (SpiderPawsService .class);

    Now, you might ask, why not just use the first approach? Well, the Web Service requires authentication and currently the username and password is read from a properties file encrypted and sent in the header of SOAP using a SOAPHandler. However, the power that the username and password are configurable as the end point. When you change Web Service endpoint in WebLogic Enterprise Manager, I noticed that you can supply a user name and password. However, I looked at the methods provided by the WebServiceConnection and I've not found a way to get a handle on the credentials. This means that I can't look at the information to pass to the Web Service. So, I thought that maybe by using the second approach, the container will create the Web Service proxy and could inject the credentials for me so that I can't provide them explicitly. Any thoughts or ideas?

    Environment:

    JDeveloper 11.1.1.6.0

    Oracle Enterprise Manager 11.1.1.6.0

    Thank you

    Bill

    I think you should use it like this: (you should get an object of Type Port, not the Service itself)

                Context ctx = ADFContext.getCurrent().getConnectionsContext();
                WebServiceConnection wsc =
                    (WebServiceConnection)ctx.lookup("SpiderPawsService");
                SpiderPawsPortType portType = wsc.getJaxWSPort(SpiderPawsPortType.class);
    
  • Determine the ratio of output size in BI Publisher

    Hello

    We need to send to printer large and smaller reports to be sent by e-mail. Does anyone know how to determine the result of running the report and change the method of delivery based on size?

    We are using 11.1.1.6.10 BEEP and using webservices to run the report. In runReport(), the report is sent as Base64Binary data and the deliveryMethod must be changed according to the size of report output. We use PDF, HTML, and CSV output formats, but do not know how to retrieve the size of the content of the report.

    Any help appreciated.

    Thank you

    We used 'sizeofReportDataChunk' tag in the runReport() XML request to determine the threshold of the size of the file output and inspiring as we do the logic for the features.

Maybe you are looking for

  • source of the message appear on responses

    Messages suddenly started to display source X-key account information and any other ID of Message, User Agent, etc.and when I try to reply to a message it shows all the information of the source before the message. How can I hide all this information

  • Connection with Hulu with ATV 4, is impossible.

    It is impossible to connect with Hulu with ATV 4,!. Can do with the iPad Air2 without problem. Using the same DNS settings on both. I can directly airplay Hulu at ATV4, but not the ATV. Help please!

  • Low storage problems - Xoom

    Someone at - he found a solution to the question of the conditions of STORAGE LOW, that mysteriously appear for a short period of use of your Xoom. I searched on the Internet regarding this issue and it seems that most of the owners are simply hard t

  • HP elite m9340f: do not start after replacing the video card. Repeating short and long beeps. Help!

    Hello: I have a m9340f HP Pavilion Elite aged five years, under vista. He had a problem with video output, so I bought a new video card and exchanged out them. but now, the computer does not start and made that one short beep and long stretch trying

  • HP ENVY 700: Try to run a 3 monitor Setup.

    I installed a new graphics card (Geforce GT 610) o my HP Envy 700. My motherboard has montior 2 plug-ins that are used, however when I installed the new video card it only doesn't show the monitor third at startup not the first 2 that are used on the