Cascade Update in Oracle Constraint ?

How can I create a Constraint in Oracle 9i with Cascade Update Option like On Delete Cascade.
It means, if I change the primary key of master table, the foreign key of all the relevant child tables should be updated automatically.
Any idea please ?
Best Regards,
Luqman

Oracle doesn't intrinsically have the concept of a CASCADE UPDATE.
From a data modeling standpoint, primary keys should never, ever change under any circumstances. If a column can ever change, it should not be used as a primary key.
Tom Kyte has a package and some code to generate triggers that would do this sort of thing
http://asktom.oracle.com/~tkyte/update_cascade/index.html
but I would strongly suggest you change the data model rather than going down that path.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • How to cascade update

    how to cascade update?

    Sorry everyone for going regional with my Mexican fiend!
    In MEXMAN's first case, integrity on related data was already being enforced through a valid foreign key (TIZAYUCA.REGLAFAB_PRODUCTO_FK). However, the user wanted to update data included in the foreign key relationship. To acomplish this, I recommended to change the actual constraint state to defer validation until commit. Using the now familiar column names, the sentences are:
    ALTER TABLE TIZAYUCA.REGLA_FABRICACION
    DROP CONSTRAINT REGLAFAB_PRODUCTO_FK;
    ALTER TABLE TIZAYUCA.REGLA_FABRICACION
    ADD CONSTRAINT REGLAFAB_PRODUCTO_FK FOREIGN KEY (GRUPO, PRODUCTO)
    REFERENCES TIZAYUCA.PRODUCTO (GRUPO, CLAVE)
    INITIALLY DEFERRED;
    In MEXMAN's second case, a wholly new integrity needs to be enforced between two tables but some actual data present in both tables do not validate the desired constraint. The offending rows from the child table (TIZAYUCA.PRESENTACION) may be obtained executing
    SELECT *
    FROM tizayuca.presentacion t
    WHERE (t.grupo, t.producto) NOT IN
    (SELECT p.grupo, p.clave
    FROM tizayuca.producto p);
    MEXMAN has 3 choices:
    1. deleting the offending rows in the child table (TIZAYUCA.PRESENTACION) before executing
    alter table TIZAYUCA.PRESENTACION enable constraint PRES_PROD_FK;
    2. inserting the missing rows in the parent table (TIZAYUCA.PRODUCTO) before executing
    alter table TIZAYUCA.PRESENTACION enable constraint PRES_PROD_FK;
    3. making the new constraint ignore the present data and enforcing the relationship starting with new data:
    alter table TIZAYUCA.PRESENTACION
    add constraint PRES_PROD_FK foreign key (GRUPO, PRODUCTO)
    references TIZAYUCA.PRODUCTO (GRUPO, CLAVE)
    deferrable initially deferred
    enable novalidate;
    (drop the present PRES_PROD_FK constraint first)
    Please find more on the constraint topic here:
    http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/clauses002.htm#CJAFFBAA
    and here:
    http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/clauses002.htm#i1002273
    Best regards,
    Luis Morales,
    ConsiteNicaragua.com

  • ON CASCADE UPDATE  in ODI ?

    Hello,
    Does any one know if this works with Oracle as ODI shows this option in Model --> datastores --> constraints --> foreign key reference.
    Thanks
    Greenwich

    Oracle doesn't intrinsically have the concept of a CASCADE UPDATE.
    From a data modeling standpoint, primary keys should never, ever change under any circumstances. If a column can ever change, it should not be used as a primary key.
    Tom Kyte has a package and some code to generate triggers that would do this sort of thing
    http://asktom.oracle.com/~tkyte/update_cascade/index.html
    but I would strongly suggest you change the data model rather than going down that path.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Cascade update on tables

    Hi,
    I know that oracle apps coding standard prohibits cascade delete feature in the database. Hence it should be implemented at application level.
    However my question is regarding cascade update. Need is to update the header's WHO columns, when an update is made to any of the lines. Both the tables are custom tables. I was thinking to write a trigger, instead of putting this logic in application.
    What should be the better solution and why? Writing trigger or implementing this functionality in application (OAF).
    Abdul Wahid

    Hi Sandeep.
    Thanks for the answer.
    However its still half.
    Answer is considering putting the logic at application level,fine. but why?
    Question is about its benefits over putting the trigger on the lines table.
    Why I am favouring trigger is due to following reasons..
    1. Lesser maintenance. (Just one trigger, no code jungle)
    2. Update of header with line' WHO is always expected (from application or any concurrent program)
    3. And putting things in application, brings challenge of maintaining integrity constrains....
    This third point is main reason I am seeing behind oracle's statndard for cascade delete, cause they are seeded tables and putting a trigger on header table may delete lines rows always (Very specific to that screen), which may not be desirable in a lot cases.Huge integrity risk.
    This case is of update desirable always, where I am seeing using trigger as help to maintain integrity, instead of risk to integrity.
    Is there any doc about such situation( coding and design guidelines). I searched net and metalink, but yet did not find.
    (my application is OAF, and its implemented also by the grace of Allah.)
    Abdul Wahid

  • Cascade update

    Is there a way in oracle to achive cascade update functionality just as cascade delete?

    It is possible
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:5773459616034
    However, as Tom indicates, it is a very bad practice. If you envision ever contemplating changing primary keys, you need a new primary key. A sequence-generated synthetic key column is an excellent choice if there is no natural key.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Jython error while updating a oracle table based on file count

    Hi,
    i have jython procedure for counting counting records in a flat file
    Here is the code(took from odiexperts) modified and am getting errors, somebody take a look and let me know what is the sql exception in this code
    COMMAND on target: Jython
    Command on source : Oracle --and specified the logical schema
    Without connecting to the database using the jdbc connection i can see the output successfully, but i want to update the oracle table with count. any help is greatly appreciated
    ---------------------------------Error-----------------------------
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 45, in ?
    java.sql.SQLException: ORA-00936: missing expression
    ---------------------------------------Code--------------------------------------------------
    import java.sql.Connection
    import java.sql.Statement
    import java.sql.DriverManager
    import java.sql.ResultSet
    import java.sql.ResultSetMetaData
    import os
    import string
    import java.sql as sql
    import java.lang as lang
    import re
    filesrc = open('c:\mm\xyz.csv','r')
    first=filesrc.readline()
    lines = 0
    while first:
    #get the no of lines in the file
    lines += 1
    first=filesrc.readline()
    #print lines
    ## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES
    ## AND STORE IT INTO THE VARIABLE `LINES `
    def intWithCommas(x):
    if type(x) not in [type(0), type(0L)]:
    raise TypeError("Parameter must be an integer.")
    if x < 0:
    return '-' + intWithCommas(-x)
    result = ''
    while x >= 1000:
    x, r = divmod(x, 1000)
    result = ",%03d%s" % (r, result)
    return "%d%s" % (x, result)
    ## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS
    sourceConnection = odiRef.getJDBCConnection("SRC")
    sqlstring = sourceConnection.createStatement()
    sqlstmt="update tab1 set tot_coll_amt = to_number( "#lines ") where load_audit_key=418507"
    sqlstring.executeQuery(sqlstmt)
    sourceConnection.close()
    s0=' \n\nThe Number of Lines in the File are ->> '
    s1=str(intWithCommas(lines))
    s2=' \n\nand the First Line of the File is ->> '
    filesrc.seek(0)
    s3=str(filesrc.readline())
    final=s0 + s1 + s2 + s3
    filesrc.close()
    raise final

    i changed as you adviced ankit
    am getting the following error now
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 37, in ?
    java.sql.SQLException: ORA-00911: invalid character
    here is the modified code
    sourceConnection = odiRef.getJDBCConnection("SRC")
    sqlstring = sourceConnection.createStatement()
    sqlstmt="update tab1 set tot_coll_amt = to_number('#lines') where load_audit_key=418507;"
    result=sqlstring.executeUpdate(sqlstmt)
    sourceConnection.close()
    Any ideas
    Edited by: Sunny on Dec 3, 2010 1:04 PM

  • Information in the case folder is not getting updated in Oracle Credit Mgt

    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.

    Sumit Malik wrote:
    Hi,
    I have created an SO and an Invoice for this SO for a particular customer. Now, when I create a credit application and a case folder in OCM for this customer, Fields like Receivables Balance, Credit Exposure, Days Sales Outstanding etc. in the case folder are not getting updated. These fields are not getting updated even after refreshing the case folder. It means that the information from the 'Receivables Responsibility is not getting updated in the case folder.
    I have already run the 'Initialize credit Summaries' concurrent program after creating the Sales Order and Invoice.
    PS: The case folder gets updated only when I set the Profile Option: "AR: Allow summary table refresh" to Yes and then running the "Refresh AR Transactions Summary Tables" concurrent program. But once this program runs the Profile Option again becomes 'No' (Which is a Standard functionality).
    So this is a manual way to update the case folder. My requirement is that the case folder should get updated automatically and no manual intervention should be required.Duplicate post -- Information in the case folder is not getting updated in Oracle Credit Mgt

  • Exam results not updated on Oracle CertView

    I have passed the following exam :
    1z0-052 - Oracle 11g Administration I
    in October 22 . The exam results are posted in my PearsonVUE account , but not updated in Oracle CertView acount . Only my previous exam ( 1z0-051 , which was in March ) details are there .
    I have contacted ( a web-form ) Oracle Certification Support two days ago and they never responded.
    My OCA certification is processed only after this exam is updated. How to resolve this ?

    user10268116 wrote:
    It is obvious that Oracle would verify candidates attendance in the Instructor Led Training.
    But how many days it takes from Completion of Track Exam and actually receiving certification ?
    I have raised SR : 22787267 for getting OCP Logo as its more than 3 weeks that I have received OCP Success Kit.
    Can some one from the Certification Team provide answer to this as I'm being constantly asked where I work about the actual Certification.
    Can Oracle find a middle way out to such issues as this may be faced with many alike ?
    Much Appreciate Your Time !
    ~S
    Edited by: user10268116 on Nov 16, 2011 2:37 PMThis is somebody else's thread.... the subject is certview ... it is not obvious from this thread you are talking about certview.
    It would probably be better if you are in your own thread.
    Is it that you have access to certview and your certification doesn't show there, or is it that you haven't recieved your certification success kit in the post?
    It you register on http://certview.oracle.com you can publish your certification credrentials via email from Oracle Certview to thrid parties who ask.

  • How can I control updating in Oracle ADF

    I have been using Oracle Forms for many years and am trying to learn Jdeveloper and Oracle ADF. In Oracle Forms, we base all of out blocks on views and control all updating in on-insert, on-update, and on-delete triggers. How can I control updating in Oracle ADF in a similar manner?

    Hi,
    Hope following will helpful
    http://www.pitssamerica.com/files/101102_WP%20FormsToADF.pdf
    http://www.exploreoracle.com/2010/08/24/oracle-application-development-framework-adf-and-oracle-forms-developers/
    http://www.google.lk/url?sa=t&rct=j&q=adf%20sample%20for%20oracle%20form%20developer&source=web&cd=7&ved=0CEAQFjAG&url=http%3A%2F%2Forclsamples.googlecode.com%2Ffiles%2FThe%2520Challenges%2520Oracle%2520forms%2520Migration%2520to%2520ADF.pdf&ei=0FzWToaUI4_JrQe0oommDg&usg=AFQjCNEdpho2uVqhSCEugw1svza6zc9iSg&cad=rja

  • Best practice when doing large cascading updates

    Hello all
    I am looking for some help with tackling a fairly large cascading update.
    I have an object tree that needs to be merged using JPA and Toplink.
    Each update consists of 5-10000 objects with a decent depth as well.
    Can anyone give me some pointers/hints towards a Best practice for doing this? Looping though each object with JPA's merge takes minutes to complete, so i would rather not do that.
    I have never actually used TopLinks own API before, so i am especially interested if TopLink has an effective way of handling this, preferably with a link to some related reading material?
    Note that i have a somewhat duplicate question on (Noting for good forum practice)
    http://stackoverflow.com/questions/14235577/how-to-execute-a-cascading-jpa-toplink-batch-update

    Not certain what you think you can't do. Take a long clip and open it in the Viewer. Set In and Out points. Drop that into the Timeline. Now you can move along in the Viewer clip and set new Ins and Outs and drop that into the Timeline. Clips in the Timeline are created from the Ins and Outs you set in the Viewer.
    Is that what you want to do? If it is, I don't where making copies of the clip would work for you
    Later, if you want to match up a clip in the Timeline to that master clip, just use Match Clip (find) in the timeline to find where it correaltes to your main clip
    You can have FCE automatically create subclips at camera cut points by using DV Stop/Start Detect if that is what you're looking for

  • Real time update in Oracle Table

    Hi Friends,
    I have a new requirement (challenging) and i need your inputs to proceed further.
    User is expecting an real time update in Oracle Table.
    Example:
    I have an Oracle (10g) table DDSX-CALENDAR table. whenever a record(new) gets inserted into this table, i need to take this record and update the other oracle table (10g) existing in a different environment (schema and server).
    Please let me your inputs about handling this requirement.
    Thanks for your time.
    Regards,
    Diwakar Dayalan

    Thanks Prasath.
    I beleive for setting up the DBlink the user needs to have DBA role.
    How do we know the data has been inserted into the source, do i need to use a trigger for that ?
    In which way i can use the DB link inside a trigger to update the values in the target table.
    Example
    My source tables is
    DDSX_STR_BANK
    Store Number Bank Name Bank Account Number
    0001 BOA 111111111111 (assume previous value is 222222222222 )
    0002 BOA 222222222222 (assume previous value is 111111111111).
    Now two store numbers have got its bank account number updated in the source and the value is inserted, Now my requirement is once the value is inserted in the source, i need to update bank account number in SSDX_STR_BANK table in a different server and schema.
    SSDX_STR_BANK
    Store Number Bank Account Number
    0001 222222222222
    0002 111111111111
    Update the bank account numbers in Sync with the DDSX_STR_BANK.
    Please guide me how to proceed with this requirement.
    Thanks,
    Divakar

  • How to update for oracle Release 10.2.0.1 to 10.2.0.3

    Hi,
    Can anybody give me hint how can i update my oracle version 10.2.0.1 to version 10.2.0.3.
    I have installed oracle 10gR2 with following:
    SQL> select * from v$version;
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Now how to update to Release 10.2.0.3 - Prod
    Regards,
    Rushang

    Download it as a patch from Metalink.
    If you have Vista, go to http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10203vista.html
    You will normally follow the upgrade guide that comes with the download. It is simple to follow.

  • Update from Oracle Indentity Manager 9.0.1.0 to 9.0.2.0, Missing XML

    Hi!
    im trying to upgrade my OIM from 9.0.1.0 to 9.0.2.0 using the patches p8484010 and then p13116984, but when im trying to upgrade OIM in my testing VM some errors appear when i try to execute the step *3.2.3 Loading Metadata into the Database* , during the first patch (p8484010) installation, the file in question is the LoadXML.bat.
    it says that several XML's could not be loaded. Are they critical? I have continued the installation and no further errors appear...
    My system specs are:
    Microsoft windows server 2003
    Oracle Database
    and im trying to pass from OIM 9.0.1.0 to 9.0.2.0
    Where goes the console output(errors are in bold):
    C:\patch\9010-9020\db\Metadata>LoadXML.bat jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UserResourceAccess REP_XML_META ..\Metadata\UserResourceAccess.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm AUD AUD_CLASS com.thortech.xl.audit.userprofileaudit.UserProfileAuditor AUD_METADATA_XML ..\Metadata\UserProfileAuditMetadata.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResourceAccessList REP_XML_META ..\Metadata\ResourceAccessList.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE EntitlementSummary REP_XML_META ..\Metadata\EntitlementSummary.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PolicyList REP_XML_META ..\Metadata\PolicyList.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE GroupMembershipProfile REP_XML_META ..\Metadata\GroupMembershipProfile.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PolicyDetail REP_XML_META ..\Metadata\PolicyDetail.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE OIMPassExp REP_XML_META ..\Metadata\OIMPassExp.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResPassExp REP_XML_META ..\Metadata\ResPassExp.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE GroupMembership REP_XML_META ..\Metadata\GroupMembership.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ApprovalStatusByApprover REP_XML_META ..\Metadata\ApprovalStatusByApprover.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersCreated REP_XML_META ..\Metadata\UsersCreated.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = UsersCreated_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm AUD AUD_CLASS com.thortech.xl.audit.groupaudit.GroupAuditor AUD_METADATA_XML ..\Metadata\GroupAuditMetadata.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResourceActivity REP_XML_META ..\Metadata\ResourceActivity.xml
    Failed to load XML. Unable to find record in REP where REPCODE = ResourceActivity_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE OrganizationStructure REP_XML_META ..\Metadata\OrganizationStructure.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE FinanciallySigResources REP_XML_META ..\Metadata\FinanciallySignificantResources.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE AccountActivityInRes REP_XML_META ..\Metadata\AccountsActivityInResource.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = AccountActivityInRes_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminPermsByRes REP_XML_META ..\Metadata\DelegatedAdminPermsByRes.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RequestsInitiated REP_XML_META ..\Metadata\RequestsInitiated.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RequestsDetailsByStatus REP_XML_META ..\Metadata\RequestsDetailsByStatus.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminByResource REP_XML_META ..\Metadata\DelegatedAdminByResource.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminPermsByOrg REP_XML_META ..\Metadata\DelegatedAdminPermsByOrg.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdministratorsByOrg REP_XML_META ..\Metadata\DelegatedAdministratorsByOrg.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersUnlocked REP_XML_META ..\Metadata\UsersUnlocked.xml
    Failed to load XML. Unable to find record in REP where REPCODE = UsersUnlocked_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersDeleted REP_XML_META ..\Metadata\UsersDeleted.xml
    Failed to load XML. Unable to find record in REP where REPCODE = UsersDeleted_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REPCODE UsersDisabled REP_XML_META ..\Metadata\UsersDisabled.xml_
    Failed to load XML. Unable to find record in REP where REPCODE = UsersDisabled_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PassResetSuccessFail REP_XML_META ..\Metadata\PassResetSuccessFail.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = PassResetSuccessFail_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE FineGrainedEntExcptByRes REP_XML_META ..\Metadata\FineGrainedEntExcptByRes.xml
    Failed to load XML. Unable to find record in REP where REPCODE = FineGrainedEntExcptByRes_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RogueAccountsByResource REP_XML_META ..\Metadata\RogueAccountsByResource.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = RogueAccountsByResource_
    Thanks for your help, Cheers

    From which version are you upgrading ?
    Your thread subject says "Update from Oracle Identity Manager *9.0.1.0* to 9.0.2.0, Missing XML " but it seems that you are upgrading to 9102.
    Those errors are related to reports. Have you deleted any reports in your existing OIM like UserCreated Reports etc ? You can check in REP table.
    Note:
    Becareful while pasting logs:
    jdbc:oracle:thin:@<IP>:<Port>:<SID> <USER> <DB_USER_PASSWORD>

  • Critical patch update for Oracle 10g As 10.1.0.3

    Hi,
    I am facing some security vulnerabilities regarding apache in Oracle 10g applcation server.
    could you please suggest critical patch update for this version.
    Thanks in advance.
    Regards,
    Sathya

    Hi,
    Check below security update from oracle. Check your product in list.
    http://www.oracle.com/technetwork/topics/security/alerts-086861.html
    Thanks,
    JD

  • How to temporarily disable on delete cascade but not the constraint

    Hi all
    i would like to know if this is possible
    how to temporarily disable on delete cascade but not the constraint
    i want to delete a row from the primary key table but i dont want the data from the foreign key to be deleted even though there is an on delete cascade set.
    how do i temporarily disable on delete cascade from firing without disabling the constraint
    Rgrds

    There is an option which I've never used before but just read about which is to create your foreign key constraint as on delete SET NULL
    instead of on delete cascade.
    This will allow you to delete a parent and will set the foreign key column values in the child table to nulls
    e.g.
    SQL> create table parent (father varchar2(30) primary key,
      2                       age number);
    Table created.
    SQL>
    SQL> create table child (father varchar2(30) constraint fk references parent(father) on delete set null,
      2                      child varchar2(30),
      3                      age number);
    Table created.
    SQL>                    
    SQL> insert into parent values ('JOHN', 34);
    1 row created.
    SQL> insert into child values ('JOHN', 'SARAH', 10);
    1 row created.
    SQL> insert into child values ('JOHN', 'BILL', 12);                   
    1 row created.
    SQL>
    SQL> commit;
    Commit complete.
    SQL>
    SQL> delete from parent where father = 'JOHN';
    1 row deleted.
    SQL>
    SQL> select * from child;
    FATHER                         CHILD                                 AGE
                                   SARAH                                  10
                                   BILL                                   12
    SQL> HTH AMM

Maybe you are looking for

  • IMovie in the new iLife 06' and video for iPod

    Hi, I was planning to upgrade to iLife 06' for the ability to take video thru iMovie and convert it to video for the iPod. Normally I would use Quicktime pro for this but my mac is not connected to the internet and it does not have USB 2.0. I am on l

  • Where are my contacts in the Backup Assistant for Droid X????

    I have a Motorola Android X2. I want to edit and delete some of my contacts.  I get the message that says I cannot from my phone, but have to use the backup assistant online.  However, the only contacts that show up online are the contacts I've added

  • Font and size changes  in design view  don't appear

    I am using the trial version of Dreamweaver CS3 on my G5 Mac (Leopard), and whenever I make changes to the font and font size, it does not appear in the design- although the code is there (in both the css that I create or specific to the paragraph) a

  • Insert PDF page between PDF pages

    I've asked this over on the acrobat forum but no response so I'm trying my luck here. I've got a 500 page pdf that's 4 up. And I"ve got a 1 page pdf 4 up that's the reverse for the 500 pages. I'd like to insert the 1 page pdf in between each of the p

  • Sysdate in Schedule

    Hello! I have a problem scheduling my reports. I need YTD and other time comparisons, and use simple DECODE function like this one to achive this: SUM(DECODE(TO_CHAR(sales_date,'YYYY'),TO_CHAR(CURRENT_DATE,'YYYY'),sales_amount,0)) If I don't Schedule