ODI - deactivation and activation of referential integrity

Hi all

To run load ETL I must disable and then enable referential integrity of one of my paintings. I can do this by using the procedure. But after loading the disbabled interface and then, how can I automatically reverse-engineering of the table? Must she be dom = do manually or y at - it an option to automate the reverse engineering as well.

Thanks for your time and your help.

Just to clarify: you sound like foreign key in the Oracle database? Or are you talking about a foreign key defined in ODI logic?

In the first case, you will need to reactivate the key on the database. Reverse engineering, something in ODI just get the metadata of ODI to be conscious, but nothing in the database changes.
In the second case, you can disable checking of the constraint on the control tab (or you can set the flow control to false if you do not need at all).

It is possible to reverse engineer the tables using the SDK, but I don't think you need: https://blogs.oracle.com/dataintegration/entry/odi_11g_scripting_a_reverse

Tags: Business Intelligence

Similar Questions

  • Deactivation and activation serial number

    I run CS4 (US Version) in Germany on two Macs. Now, I want to replace a Mac and I installed CS4 on Mac new th. As CS4 was told that I have disabled a single installation of CS4. I tried to activate the new installation with the serial number of the Moose, but it did not work. May your compensation servers are no longer works for CS4? What can I do?

    Best, Klaus

    Contact support adobe technique: http://www.adobe.com/support/chat/ivrchat.html

    to reset your counter to activate after the double checking your disabled installation is disabled.  to check, click on help and confirm disable is grayed out.  If it's not click on it and then try activating your recent install.

  • PXI-4110 deactivation and activation of the output

    I'm programmming power CC PXI-4110. I want to activate and deactivate the outputs. I use niDCPower_Disable() to disable the outputs. and the use of niDCPower_Initiate() to activate the outputs. Problem is after I have activate the outputs with niDCPower_Disable() and with niDCPower_Initiate() that I lose all my settings as the output voltage. What I so niDCPower_ConfigureVoltageLevel() and niDCPower_ConfigureCurrentLimit() call before calling niDCPower_Initiate() then outputs are put to the required voltage.

    I want to do is turn on and off just like pushing a button on a Panel.

    For example, I call niDCPower_Disable() to open the relay switch.

    It seems to me like there is a function niDCPower_Enable() which would close this switching relay and not reset all my voltage and current limit settings.

    Any help on the best way to proceed would be appreciated.

    Figured it out using:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    to turn off and then I start with

    status = niDCPower_Initiate (vi_4110_0);

    In this way, my diet is ready to go, but my relay is open.

    When I'm ready to close the relay I follow these steps:
    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_TRUE);

    Then later I want to open the relay call again I have only this:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    Problem solved.

  • Touch Pad deactivation and activation does not?

    Hi, I'm on Hp Pavilion dv5-2135dx Entertainment Notebook and the touchpad is not fuctioning properly. Usually when I double click on the upper left corner and lock the mouse mat. But now when I do it, it won't lock. The orange led glow and your still able to move the mouse. I think it's very annoying because when I play games, my hand to touch the mouse and it would move, ruin. Someone knows how to fix this? Thank you.

    Hello

    Assuming you are using Windows 7, try the following.

    First, download the latest installer driver Synaptics, on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp50501-51000/sp50688.exe

    Then, open windows control panel, open programs and features, right click on the entry "Synaptics Pointing Device Driver" and choose uninstall.

    Once done, restart the laptop.

    When windows has completely recharged, open your download folder, click with the right button on the setup of Synaptics and select "Run as Administrator" to launch the installation.  Once done, restart the laptop.

    Kind regards

    DP - K

  • deactivation and activation cs3

    I had cs3 on my old computer, it crashed, if im not able to turn it off, also I can not activate it on my new mac

    I tried to connect my old hard drive of the computer to my new mac, but the help/disable option is not available

    What should I do?

    Zemgalietis, you will need to contact our support team to solve your problems with activation.  For the best support, I recommend our chat support at http://adobe.ly/yxj0t6.  Our chat representatives can provide a personalized experience to solve the problem you described.

  • Deactivation and Activation on another computer

    I bought and downloaded then Internet Adobe Photoshop Elements 9.  So I bought a new computer.  How can I disable Adobe Photoshop Elements 9 on a computer and then activate the progam on another computer?

    Choose Help > deactivate on the first computer, and then uninstall the software.

    Install on the second computer. The software should operate automatically.

    See http://kb2.adobe.com/cps/100/1008779.html for more details.

  • Automation and scripts data flow using ODI API AND SDK in Oracle Data Integrator (ODI) 11g

    Hi team,

    We have a requirement of scripts and automation of stream using ODI API and SDK. The requirement must use source ODI API and SDK to target cards in Excel (mapping map) is read and can use the SDK to create interfaces for Excel sheets. I am a novice to Groovy and Java script. Please help me on what should be the approach.


    I am able to create individual objects of ODI as 'Projects', 'Models', 'Interfaces' and 'Packages' by using the 'Groovy' editor that comes with ODI 11 g.

    Thank you very much in advance!

    Best regards

    Dos Santos.

    Take a look at the post by Dave Allen who will in the sense of what you're trying to achieve:

    https://blogs.Oracle.com/warehousebuilder/entry/odi_11g_interface_builder

  • Can I sell my windows 7 home basic to others that I have installed and activated?

    I bought windows 7 Home Basic SP. 1. I sell my windows 7 home basic to others that I have installed and activated?

    I want to buy the new windows and I used the update because I want a simple process. The upgrade procedure needs more, not simple.

    Can the buyer install it and activate it to his computer?

    You say you have this:

    "Home Basic 7 Sp 1 64-Bit English 1PK DSP OEI DVD 611 SEA"

    Did you read this part?

    These versions are for small integrators (DSP = 'partners in enforcement service'), which usually contain a single Windows (1pk = 32-bit or 64-bit, not both as in commercial versions) and an OEM preinstallation kit to preconfigure Windows and/or integrate additional tools (OEI = 'Installation of Original equipment' or 'Integration organizational environment'). They have the same limitations that versions OEM = license is tied to the computer where the operating system has been installed initially and not transferable in case of death of the machine.

    If you want to move or to sell the license of operating system or upgrade motherboards in a computer, buy a license at retail in the future.

    See you soon.

  • Checking the referential integrity of a form before the presentation of the Page element

    Hi, OTN,.

    I have a form on a table with multiple columns, some of which are foreign keys to other tables. Rather than validate the columns for referential integrity when the user inserts/changes in shape, I would use a dynamic action to attract the attention of the user with a javascript alert() when the user loses focus of the element. After a user enters a value into the text box and moves to the next item, I want to be able to query the table, check the existence of the value of the user and issue a javascript alert() if there is no match.

    What is the best way to go about this?

    I created a dynamic action-to run PL/SQL code on one of the elements of the page, with a code similar to the following:

    DECLARE
    rf_check varchar2 (30);
    BEGIN
    SELECT col1 INTO table_a FROM rf_check
    WHERE col1 =: P1_ITEM_FK;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    HTP.p ("< script type =" text/javascript"> ');
    HTP.p ("alert ("ERROR");");
    HTP.p ("< /script >" ");
    END;

    I could not get the dynamic action of delivering javascript. Any thoughts?

    Thank you

    Matthew Moisen

    Published by: Matthew Moisen on 25 October 2012 14:22

    Matthew Moisen wrote:
    What is the best way to go about this?

    I have to admit that I've never tried, but I would be surprised if Javascript back via statements made htp.p that they are actually executed by the browser.

    I would do something like that, by a dynamic action that calls an application process. The PL/SQL procedure request would return via htp.p OK or ERROR. From this result, the javascript would determine to issue the alert. Something like the following (not fully tested):

    Javascipt
    
     var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=FK_CHECK',0);
     var fk_check = get.get();
    
     if (fk_check=='ERROR')
      {
       alert('ERROR');
      }
    
    Application Process FK_CHECK
    
    DECLARE
      rf_check varchar2(30);
    BEGIN
      SELECT col1 INTO rf_check FROM table_a
      WHERE col1 = :P1_ITEM_FK;
      HTP.p('OK');
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
         HTP.p('ERROR');
    END;
    
  • Referential integrity does not not for attributes 'user defined '.

    Hello

    I have trouble getting the referntial integrity to work with auxiliary attributes. I have a custom scheme I imported to the ODSEE that I would like to have referential integrity enabled for all DN links.

    To activate the referential integrity, I have done:

    (1) dsconf game-server-prop - h host Ref port - p-integrity - attr:attribute - name-Ref-integrity - attr:attribute - name (it gave me an error if there were spaces around the------so I removed the)
    (2) dsconf game-server-prop - h: host Pei Ref-integrity-enabled port: on
    (3) adds an index for each attribute (equal) in the suffix whetre objects are
    (4) restart the DS instance

    Referential integrity works for members, but not one of my custom attributes. I have also no log instance-path/logs/referint file...

    Any ideas?

    Yes, pluginarg3 and more should be your attributes syntax DN you want to maintain on referential integrity. You have over 100 separate DN syntax of the attributes that you want to enable referential integrity for? It is waay more than I've seen before.

    You don't want to change the dse.ldif file while the server is in place. If you do, you will lose your changes when the server restarts. I think it's weird that your dsconf command did not work. If you want to solve problems which you can activate the audit log and run the dsconf commands to see what changes the tool brings to the config.

    Maybe this syntax does not work:

    dsconf game-server-prop - h host Ref port - p-integrity - attr:attribute - name-Ref-integrity - attr:attribute - name

    I think I only used the plugin properties to configure this in the past, but to be honest, I usually run just a ldapmodify with an LDIF.

  • referential integrity with a view to the parent table

    Is it possible to create a foreign key that uses a view as the parent table?

    CREATE TABLE one
    + (id NUMBER CONSTRAINT a_pk PRIMARY KEY, +)
    name VARCHAR2 (32));

    CREATE TABLE b
    + (name of the b_pk VARCHAR2 (32) CONSTRAINT PRIMARY KEY, +)
    address VARCHAR2 (32));

    CREATE VIEW b_view AS SELECT * FROM b;

    ALTER VIEW b_view ADD CONSTRAINT b_view_pk PRIMARY KEY (name) DISABLE NOVALIDATE;

    ALTER TABLE an ADD CONSTRAINT a_fk
    B_view (name) REFERENCES of FOREIGN KEY (name);

    "After issuing the last alter statement I get the error: ' ORA-02270: no unique or primary key corresponding to this list of columns.

    If I use just the table b of referential integrity, everything works. Is this just a limitation of the use of the view with a PK defined as disable novalidate? Is there a workaround to use the view?

    Thank you
    mcslain

    AFAIK, you can create constraints on views, purely for the sake of documentation.
    Sense: these constraints are never implemented, they must be defined using the NOVALIDATE keywords to DISABLE.

    And since these constraints, say the b_view_pk in your case, are DISABLED/NOVALIDATE, you cannot have a foreign key (ENABLED), which points to them.

    Pouvez have you a foreign key pointing at them is DISABLED/NOVALIDATE too, however.
    But I bet it's not what you want.

  • referential integrity distributed

    Hi, I have a question. If I'm on the wrong forum please direct me because I couldn't find a specific forum for distrituted databases and it can be a matter of application development.

    I implement a simple distributed database application. At this point I fear that with the creation of two tables of each on a different server. For the simplicity I will be their name table1 and table2. This is the scheme if the tables were not distributed and were located on the same server.

    CREATE TABLE table1)
    PRIMARY KEY of the CONSTRAINT of the NUMBER of table1_pk table1_id
    );

    CREATE TABLE table2)
    NUMBER of table2_id
    NUMBER of table1_id
    CONSTRAINTtable2_pk PRIMARY KEY (table2_id, table1_id),
    CONSTRAINT table2_fk FOREIGN KEY (table1_id) REFERENCES table1 (table1_id)
    );

    I talked about literature in the database Oracle® 10g Release 2 Administrator's Guide (10.2) and the Oracle database applications developer's Guide. I know I can't use declarative referential integrity, but how can I distribute the tables so that I can be sure that when I insert a row in table2, I can check to see if there is a corresponding line in table 1 for table1_id?

    Actually, I expect that you will review your architecture.

    It makes no sense to search one matching row in table1 a remote database when the data is inserted in table2 in a local database. The best scenario would be that each insertion in table2 would be overloading a network round trip plus costs of querying the table in the remote database. If the network is down or if one of the two databases is down, the application fails, that beats in general the object of a distributed application. In addition, there will be all sorts of concurrency issues (i.e. I remove a line, but before I commit to you ask the line, to see there and insert a child line.) I agree, leaving your orphan line).

    Assuming that you really do need a distributed architecture, you want to replicate table1 to the nodes the and remote. Then, you would report to referential integrity between your local copy of table1 and table2 (as well as between table1 and table2 on the remote database, assuming you wanted to table2 data available here as well). Your replication process (preferably using stream but potentially use the multi master materialized views rather) will then be coded to process the errors due to the asynchronous nature of replication (that is to notice that database1 deleted a parent row that you just inserted a child line for and solve the conflict in an appropriate manner).

    Justin

  • Referential integrity constraints - Impact on performance

    Y at - it any performance overhead to create constraints in referential integrity on the tables (not seen)? Can someone tell me please a documentation of oracle on the impact of the creation of RIs on peformance on the db tables?

    Thank you
    Kevin

    Please check that it has everything you need

    http://tonguc.WordPress.com/2007/01/19/what-is-the-overhead-of-referential-integrity-on-the-database/

    and don't forget to create indexes on the keys

    Coskan Gundogar

    http://Coskan.WordPress.com

  • triggers to enforce referential integrity

    I have trouble to configure a trigger for me to ensure referential integrity. I choose a trigger because I do believe that it is possible to configure using constraints.

    My parent (HAB) table is the following structure:

    H_ID NUMBER PK
    H_CODE VARCHAR2
    H_DESCRIPTION

    The child table (ATT) is as follows

    so_id NUMBER PK
    COLUMN-NAME VARCHAR2 PK
    VALUE VARCHAR

    The ATT table contains information of documents referring to the HAB table, in these instances col_name = "HAB" (it may also contain several other value that does not refer to the table of HAB)
    When the COL_NAME = "HAB" I want to check that the VALUE column contains a value that is present in H_ID inhabitants.

    Is it possible to do with relaxation, I can't understand how to add a where clause clause, so I apply the trigger only when the column column_name = 'HAB '.

    Here is my code so far:

    CREATE OR REPLACE TRIGGER TRG_BRYO_ATT_HAB
    BEFORE THE INSERT OR UPDATE
    VALUE
    ON SO_BRY_ATT
    REFERENCING NEW AS new OLD IN the old
    FOR EACH LINE
    WHEN
    (NEW. VALUE IS NOT NULL)

    DECLARE
    INTEGER model; -used for the extraction of slider below
    Invalid_habitat EXCEPTION;
    Valid_habitat EXCEPTION;
    Mutating_table EXCEPTION;
    PRAGMA EXCEPTION_INIT (Mutating_table,-4091);

    CURSOR Dummy_cursor (hc NUMBER) IS
    SELECT h_id FROM hab
    WHERE h_id = hc
    FOR the UPDATE OF h_id.


    BEGIN

    OPEN Dummy_cursor (: New.value);
    EXTRACT Dummy_cursor IN model;


    IF Dummy_cursor % NOTFOUND THEN
    RAISE Invalid_hab;
    ON THE OTHER
    RAISE valid_hab;
    END IF;
    CLOSE Dummy_cursor;
    EXCEPTION
    WHEN Invalid_hab THEN
    CLOSE Dummy_cursor;
    Raise_application_error (-20000, 'invalid hab'
    || "code" | To_char (:New.value));
    WHEN Valid_hab THEN
    CLOSE Dummy_cursor;
    WHEN Mutating_table THEN
    NULL;

    END TRG_BRYO_ATT_HAB;



    /

    No indication on how to do this, or suggestions for the best ways to enforce this would be very appreciated.

    Thank you

    Stef

    Hello

    The reason why I want to separate data atts of standard data, it's that I want to if ensure that the database is extensible, for example if we start obtain additional data of a type new stadium for example, I don't want to have to enter a new column in the standard data column, but rather power to att in the atts table as a new type of name of column

    The short answer is, STOP! Don't, don't.

    You want to ensure that the database is expandable? -It is, just add the columns when you need it. As you say yourself, "* if * we start obtain additional data of a new type."

    When you create this kind of datamodel (that you should not), you are bound to run into all kinds of problems. One being your current with referential integrity. Other people in trouble by querying your data to produce reports, general performance, a.s.o., a.s.o. problems.

    I've only seen a situation where such a design could be claimed. It's an application where a requirement was that end-users should be able to create new entities and attributes to use immediately in the application. This doesn't seem to be the case in your situation.

    Concerning
    Peter

  • How to make a backup of the health and activity data?

    Hello

    I would like to do a fresh install on my iPhone version 6s 9.3 to 9.3.2. My question is how can I save only the data of health and activity?

    I couldn't find any option in iTunes or iCloud backup specific applications. Please notify.

    -Salah

    Hi Salah

    It is not currently possible to only back up data of health and activity through Apple backup and restore process.

    Health and activity - as well as other sensitive (like password) information - data are included in encrypted iPhone backups.

    It is possible to exclude these data from a backup (by a backup encrypted United Nationsvia iTunes), but it is not possible to only backup and restore sensitive data.

Maybe you are looking for