VLD-1137 Target Load Ordering foreign keyrelationships mapping flowconflict

Hi,
I face a error when validating the mapping under the following condition.
Error while validating a mapping after adding foreign key relationship on the table (for the second time. For example a table named journal had a foreign key on the same table (like jou_pk, now I have included one more foreign key to refer the journal table as jou1_fk.
When used in the mapping this is the only target table, but it is used in the Key Lookup to populate the foreign key column on journal.
Error Reported while validating / generating the mapping:
VLD-1137 Target Load Ordering foreign key relationships and mapping flow conflict
Please help in avoiding this error.
Thanks,
Leo.

Hi,
how did you solve this....?
i am also getting this error message
Thanks

Similar Messages

  • Adding pre-mapping process breaks target load order

    OWB 11.2.0.2 on Oracle database 11.2.0.2
    I created a mapping that has 4 sources (views on external tables) and 4 targets (3 regular tables).
    V1 => T1 (truncate/insert)
    V2 => T2 (truncate/insert)
    V3 => T3 (truncate/insert)
    V4 => T3 (update/insert)
    The above is the target load order. It tested fine.
    I added a pre-mapping process (packaged procedure) that is unrelated to any of these source/target tables, but just exits or raises a failure to control whether the mapping should continue to run or not.
    When I run it, the selected/inserted/merged counts are identical, but from what I'm seeing in T3 is that the order was update/insert followed by truncate/insert. I verified that the target load order remained the same.
    Has anyone else run into this problem?

    Hi,
    For OWB 11.2.0.2 the target load order property will set to 'False' by default.
    If this is the case you can not guarantee that the targets will be loaded in the order specified. It should be set to 'true'
    Right click on your map and select configure -> Code generation Properties -> Use target load ordering set it to true.
    Please note that you should have ODI EE licence and you must have installed OWB with Enterprise opton to set this property.
    Regards,
    Pnreddy

  • Target load order within dimension operator

    Hi there,
    We are having the following situation, a dimension which has two roles assigned to it is populated via a simple mapping, basically loaded from one staging table.
    It only seems to work when the table which has foreign keys against this table have these fks disabled. If they are not disabled, it is writing all records to the dimension. Is this a known bug?
    Why is this the case? I can see within the mapping a part which talks about target load order on the dimension operator and that this is determined by the fk relationships.
    We could manually configure this target load order but only 1 physical table being populated and the target load order looks to give alot of oracle tables implenetde by owb itself.
    Any advice much appreciated.
    Many Thanks

    Hi,
    You need to unlock the application using the HspUnlock application utility :- http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch04s02.html
    I would also advise using an agent and not the local agent if you are doing so.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Target Load Order is not working

    I work with OWB 10gR2.
    A have mapping with 2 target tables (say A and B). Table A needs to be filled before table B. How can I achieve this?
    I have put 1 in "Target Load Order" property of table A and 2 in "Target Load Order" property of table B but this does not have the expected effect.
    Anyone hase experience with this.

    Hi,
    look at the documentation:
    When you design a PL/SQL mapping with multiple targets, Warehouse Builder calculates a default ordering for loading the targets. If you define foreign key relationships between targets, Warehouse Builder creates a default order that loads the parent and then the child. If you do not create foreign key relationships or if a target table has a recursive relationship, Warehouse Builder assigns a random ordering as the default.
    You can override the default load ordering by setting the Target Load Order property. If you make a mistake when reordering the targets, you can restore the default ordering by selecting the Reset to Default option.
    To specify the loading order for multiple targets:
    Click on whitespace in the mapping canvas to view the mapping properties in the Property Window in the upper right corner.
    Go to the Map Targets Load Order property and click the Ellipses button on the right side.
    Warehouse Builder displays the Map targets load order dialog.
    To change the loading order, select a target and use the shuttle buttons on the right to move the target up or down on the list.
    Regards
    Detlef

  • Target Load order is not working properly in 11.2.0.2

    Hi,
    Mappings whihc are migrated from OWB10.2 version to 11.2 which contains multiple targets are not working in accordance with the target load order given in the mapping.
    The order in which targets are loaded changes between execution.
    To test is this a problem with migration we had created a smaple mapping containg 3 targets and mentioned loading order in each target table as well as in mapping property.
    The order in which the targets are loaded was random. But when we have 2 targets it seems to be working. But for migrated maps this is also not working.
    Is there any bug reported in 11.2.0.2 for this issue? Any help is highly appreciated.
    Thanks and Regards,
    Pnreddy

    Target load ordering is set to false by default in 11.2.
    You need to set it to true if you want your mapping to use it.

  • Unlicenced Options in OWB- target load ordering & variables in workflows

    In need to perform overall repository check-up , to see if unlicenced "features" : Target Load Order and Variables in Workflows have been used in Mappings.
    Ideally, I would just like to wirte a query, to "comb" the repository and find the offending Mappings and Workflows.
    The problem is : I don't know which tables to query - the view structure in Repository is pretty complex. The view ALL_IV_OBJECT_CONFIGURATIONS seemed like a good starting point for detecting usage of target load ordering but I kept getting ORA-22835(since there are CLOBS in underlaying tables) and couldnt get rid of that , since there are 10 levels of sub-views underneath-so I lost track and am not sure which column refers to CLOB any more..
    Can anybody help me ? Is there a way at all to retrieve this kind of information from the repository ?
    Edited by: Reggy on 01.09.2010 03:13
    Edited by: Reggy on 01.09.2010 03:14
    Edited by: Reggy on 01.09.2010 03:15

    Reggy,
    for list of used variables in processflow use ALL_IV_PROCESS_VARIABLES OWB public view.
    Regarding Target Load Order - maybe using ONLY configuration property Target Load Ordering is not the base case because this flag enabled by default for new mapping. You need to perform additional check - that mapping contains more then one target table.
    I cannot help with ALL_IV_OBJECT_CONFIGURATIONS view (ORA-22835, on OWB 10.2.0.3 have same error), instead try OMB*Plus script like this
    OMBCC '/PROJ/TARGET_MODULE'
    set mapList [OMBLIST MAPPINGS]
    foreach mapName $mapList {
      # it is a configuration property Use Target Load Ordering
      set targetOrderFlag [OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES(TARGET_LOAD_ORDERING)]
      # it is coma separated list of target tables
      set targetTabList [OMBRETRIEVE MAPPING '$mapName' GET PROPERTIES(TARGET_LOAD_ORDER)]
      # check that targetTabList contains more than one tables
    }Regrads,
    Oleg

  • Target Load Ordering

    Hi,
    if target load ordering is not used (because we do not have the enterprise etl license), what happens if I load data from table A into table B and then from the same table operator B into table C?
    Can I be sure that table B is always loaded first?
    Regards,
    Carsten.

    If You create a queue table A -> table B -> table C You can be sure that B is populated before the data is transferred to C, even if You are not using Enterprise ETL.
    If You create a mapping table A -> table B and table A -> table C then it is not so easy to identify, which table is populated first table A or table C. As far as I know, OWB uses the sequence in which the table operators where dragged into the mapping as a default load order. A "random" approach can not be used, as PL/SQL does not support any random execution in a package ...

  • Target Load Order Bug?

    Version:  12c
    I've set the Target Load Order to:
    T1,T2,T3
    But it always generates the jobs as:
    Load T3 - IKM Oracle Merge
    Load T1_T2 - Unknown KM (this is actually IKM Oracle Multi-Insert.GLOBAL)
    Please help!!!

    There is a workaround, but it requires some work on the physical tab.  You have to drag the items around so that you end up with two targets.  The first target loads the multi-insert to T1 and T2 and the second target loads T3.  They should default to run serially, which is what is needed.  Do not run in parallel.  I had trouble with the icons in the upper left of the execution units (blue boxes) updating.  Switching to logical view and back should fix them.

  • How can I control del Target Load plan in a mapping?

    Hi,I have a mapping (attachment) that does inserts and updates to the same table in 3 different situations. It is a simple mapping that inserts new rows or update one that already exists, but also keeps the instance before update. If one record already exists it inserts a new instance of that record and updates the old one with the modification date.But i'm having an issue because of the order in wich each target is loaded. I know i can make 3 independent pipelines and then use the target load plan but y want to avoid reading the source more than one tiem.Regards, Matías.

    kglad, thank you very much for taking a look.
    Perhaps it would be better to view the entire site here:
    http://www.katodesignstudio.net/linda/index.html
    On the News page, I'd like to have a button that will load
    the Screening page (screening.swf) where the News page is loaded.
    At the link above, the button has been removed until I can find a
    solution but it would be located where the "see screening page for
    details" text is now.
    As you can see by going to any other page, all of the pages
    in the site load into a container clip. From what I can tell so
    far, I need the button to unload the News.swf from the container
    clip and load the Screening.swf into that same container clip,
    similar to what the top Nav menu is doing. The trick seems to be to
    get the button to unload the swf that the button is located in...
    How can this be done?
    thanks again for your help!

  • Load Order in a mapping

    any one has done a SINGLE MAPPING WITH multiple SOURCE TO multiple target
    like      source a TO target a
         source b TO target b
         source c TO target c
    in an order, which is first a should be feeded, THEN b and so ON...
    we have load order in Paris to resolve this, I'd like to know is there ANY way we can do it with 10GR1

    I dont think there is anything like load order in 10gR1 but when i had similer problem we sorted that out with use of process flow by spliiting the mappings.
    If you know a better way out then do let me know.
    I have come across a previous thread in the forum on the same issue which says that we can not control load control WITHIN the mapping and OWB decided it by default in the order in which objects are drppoed on canvas!!!!!!!!!!!!!!

  • Load order overwrite impossible and ORA-01790

    Hi,
    I'm using Oracle 11g Rel. 1 EE and I have some problems with a mapping in OWB. I mapped my customer dimension (SCD type 2) with the corresponding tables. The first problem is that I can't overwrite the load order for this dimension.
    I've set up the customer dimension with following levels: customer, city, state, country, region and I also configured the foreign keys. The load order is changing every time I do an inbound synchronization for this dimension. In the manual it is written that the order is based on the foreign key relations but it is not in the correct order. When I try to change the loading order within the mapping and save the mapping, the settings will be resetted after I closed the mapping window. Why is the loading order changing all the time, although the dimension has not changed? And why can't I overwrite the loading order in the mapping, is there any restriction for this setting?
    My second problem is that I get the error: ORA-01790: expression must have same datatype as corresponding expression. In the sql code it seems that the problem is my attribute "Birthyear". The source table delivers an integer value for age. The dimension stores the birthyear as char(4). Therefore I used an expression to convert the age into the correct year as char(4), but I still get the error message. I assume that the compiler gives me the correct line number where the problem occurs and it is always where Birthyear occurs. Did anybody experience a similar problem and knows a solution for this?
    Greetings,
    Joerg

    The post Was truncated... here is the rest of the story:
    And what is worst: I can not drop the table because I receive an ORA-00600 !
    I can not even drop the USER, I still receive ORA-00600.
    I would really appreciate any help. All I want is to drop the user and clean
    up my database.
    Best Regards,
    Jose Hime
    ==========================================================================
    select * from user_objects
    OBJECT SUBOBJECT OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE GENERATED
    NAME  NAME
    TESTE D3A 146096 146684 TABLE SUBPARTITION N
    TESTE D3B 146097 146685 TABLE SUBPARTITION N
    TESTE D3C 146098 146686 TABLE SUBPARTITION N
    TESTE D3D 146099 146687 TABLE SUBPARTITION N
    TESTE D3E 146100 146688 TABLE SUBPARTITION N
    TESTE D3F 146101 146689 TABLE SUBPARTITION N
    TESTE D3G 146102 146690 TABLE SUBPARTITION N
    TESTE D3H 146103 146691 TABLE SUBPARTITION N
    TESTE 145922 TABLE N
    9 rows retrieved
    ==========================================================================
    Long postings are being truncated to ~1 kB at this time.

  • Truncate table load order broken

    Hi,
    I have a mapping where two tables are truncate/insert. I need one to be truncate/insert at the start, and the other later in the mapping. Using the Target Load Order feature, I order my targets so that this happens.
    However, when the code is generated - for both set and row-based - , I get this:
    Initialize("P_JOB_RUN_ID", "P_PROCESS_AUDIT_ID",
    p_env);
    -- Initialize all batch status variables
    "FACT_SIO_PROC_RJCT_RESET_T_St" := FALSE;
    "FACT_SIO_St" := FALSE;
    "FACT_SIO_RJCT_St" := FALSE;
    IF get_trigger_success THEN
    Truncate_Targets;
    ...and Truncate_Targets contains statements that will truncate both tables.
    If Initialize succeeds both tables are truncated ignoring the Target Load Order.
    Is it possible to use Target Load Order with truncate/insert?
    Cheers
    Steve

    Hi,
    as an alternative you can use DELETE/INSERT instead of TRUNCATE/INSERT. This empties the corresponding table immediately before inserting. Of course, this is only recommendable if the expected count of rows to delete doesn't exceed some 10.000, since DELETE is hard work for the RDBMS compared to TRUNCATE.
    regards
    Thomas

  • Changing attribute order in a mapping operator

    Is there a way that I can easily change the position or order of a mapping operator or object (e.g. Joiner object) without having to remove all the attributes in an object, and then either entering them manually or pulling them from the source to the mapping object (the target).

    Hi Kurt,
    Unfortunately that is not possible, operator attributes always show in the order you created it.
    Only tables, views, snapshots, dimensions and cubes allow to change the order of their attributes, but then only in their respective editors, not in a mapping.
    Regards, Patrick

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • How to change target structure order

    Hi Guys,
    I am having the problem for changing the target structure order,
    I am dealing the fixed length files using the sender file adopter I am getting the order what ever I want. example below mention.
    created the data type message type and every thing my own and also used sender file adopter with file content conversion.
    Source
      STRU1
      STRU2
      STRU3
      STRU1
    Where as I got the XSD from the vendor for the target and used external definition. When I am doing the message mapping I am getting different order.
    I want the target as below mention
    Target
      STRU1
      STRU2
      STRU3
      STRU1
    But I am getting as :
      Target
         STRU1
         STRU1
         STRU2
         STRU3.
    Can you guys please help to get order what ever I want....
    Thank
    Babu

    Sarvesh,
    Those are like  STRU1, STRU2 STRU3 structures not fields, every structure has n number fileds.
    When I configure my sender file adopter I got the order what ever i need, but when I am doing message mapping structure level mapping like
       STRU1 -
    > STRU1
       STRU2 -
    > STRU2
       STRU3 -
    > STRU3
    Since STRU1 has 2 occurrences  in source first and last.
    when I did above mapping the STRU1 is comming 2 times as a first, Which I do not want.
    I hope you understand ..
    can you please help me how to get order in target..
    Thanks
    Babu

Maybe you are looking for

  • Preview Crash on Large .pdf Files

    I am trying to view a 500k pdf in Preview. Every time I try, Preview crashes. It does the same thing whether I try to download and read it in Safari or Firefox from the original website or try to open the downloaded file and read it from the desktop.

  • Conversion of timestamp to_char in Apex variable & unable to use in PL/SQL

    Hi, I am passing a timestamp from Apex as a varaiable to a PL/SQL trigger. 1) to_char in Apex, to_date in PL/SQL- Works Apex : to_char(systimestamp, ,'YYYY-MM-DD HH24:MI:SS') PL/SQL : to_date(systimestamp, ,'YYYY-MM-DD HH24:MI:SS') However I would li

  • Stopping a thread after a time

    Hi, I'd like to be able to run a thread for a certain time and, based on it's state, then either run it for a longer time or suspend it. It'd be a bit awkward to do this in the thread itself, so I was thinking it'd be best to have another timer threa

  • WHEN - VALIDATE IN ADF.

    hi jdev experts, am using jdev 11.1.1.5.0 - adfbc - oracle db10g and also i worked in Oracle forms 10g. there is some thing like when-validate-item. eg: in for oracle forms 10g take 2 fields (emp_id,emp_decription) here emp_id as lov. in when validat

  • Talking to Adobe

    FOLKS: FOR those having problems with elements 12 and yosemite: I have spent the entire day trying to reach a live person at adobe and apple. It cannot be done - I don't think they care as they already have our money. I used to complain about Microso