Errors not logged when IKM Oracle Multi Record Insert is selected

Dear All,
I am new in ODI 11g and I am facing the following problem:
I created a package with 3 Interfaces with Oracle Multi Record Insert.
In the first interface I load the source data to a temporary target
In the second interface target#1 table is loaded using interface#1
In the third interface target#2 is loaded using interface#1 and the multiple insert is executed and committed.
This works correctly, but when a data error occurs (e.g. mandatory column is null), instead of the error being logged in the Error table, execution of the last interface fails with the following error:
Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into (<schema>.<table>.<column>)
I noticed that when I use Oracle Incremental Update instead, the errors get logged correctly in the error table.
Does anyone know what could be causing this?

Hi Bhabani,
Thanks for the reply.
I am afraid that this is a major issue for me, I do not want to re-query the source table for each target table, but on the other hand I cannot fail the process for each invalid record and I need the logging.
Can you think of a workaround for my use case?
Thank you!

Similar Messages

  • ODI - IKM Oracle Multi Table Insert

    Hi All,
    I am new to ODI, i tried to use "IKM Oracle Multi Table Insert", one interface generates query like
    insert  all
    when 1=1  then
    into BI.EMP_TOTAL_SAL
    *(EMPNO, ENAME, JOB, MGR, HIREDATE, TOTAL_SAL, DEPTNO)*
    values
    *(C1_EMPNO, C2_ENAME, C3_JOB, C4_MGR, C5_HIREDATE, C6_TOTAL_SAL, C7_DEPTNO)*
    select
    C1_EMPNO EMPNO,
    C2_ENAME ENAME,
    C3_JOB JOB,
    C4_MGR MGR,
    C5_HIREDATE HIREDATE,
    C6_TOTAL_SAL TOTAL_SAL,
    C7_DEPTNO DEPTNO
    from BI.C$_0EMP_TOTAL_SAL
    where (1=1)
    because of alias this insert fails. Could you please anyone explain what exactly happens and how to control the query genration?
    Thanks & Regards
    M Thiyagu

    What David is asking is for you to go to operator and review the failed task, copy the SQL and paste it up here, run the SQL in your sql client (Toad / SQL Developer) and try and ascertain what objects your missing causing your SQL Error.
    Have you followed the link posted above? Have you placed the interfaces in a package in the right order? Are you running the package as a whole or individual interfaces? I dont think the individual interfaces will work with this IKM as its designed for one to feed the other.
    Please detail the steps you've taken, how many interfaces you have and what options you have chosen in the IKM options for each interface - Its tricky to diagnose your problem and when you say "I can't understand what to do and how to do...
    So please give the step wise solution to do that interface.. or please give with an example.." it means a lot of people will ignore your post as we cant see any evidence of you trying!
    p.s I see you have resurected a thread from 2009 - 1) I dont think the multi-table insert KM was available with ODI at that time (10G) 2) The thread is answered / closed so not many people will look at it 3) Proceedurs should only really be used when you cant do it with an interface, you lose all the lovely lineage between objects with you get with an interface.
    Hope this helps - please post your setup , your error and how you have configured the interfaces and package so far.

  • IKM oracle multi table insert

    Hii...Experts..
    How can I load data from a single source table to multiple target tables using IKM oracle multi table insert ???
    Please help me with an example.
    Regards

    What David is asking is for you to go to operator and review the failed task, copy the SQL and paste it up here, run the SQL in your sql client (Toad / SQL Developer) and try and ascertain what objects your missing causing your SQL Error.
    Have you followed the link posted above? Have you placed the interfaces in a package in the right order? Are you running the package as a whole or individual interfaces? I dont think the individual interfaces will work with this IKM as its designed for one to feed the other.
    Please detail the steps you've taken, how many interfaces you have and what options you have chosen in the IKM options for each interface - Its tricky to diagnose your problem and when you say "I can't understand what to do and how to do...
    So please give the step wise solution to do that interface.. or please give with an example.." it means a lot of people will ignore your post as we cant see any evidence of you trying!
    p.s I see you have resurected a thread from 2009 - 1) I dont think the multi-table insert KM was available with ODI at that time (10G) 2) The thread is answered / closed so not many people will look at it 3) Proceedurs should only really be used when you cant do it with an interface, you lose all the lovely lineage between objects with you get with an interface.
    Hope this helps - please post your setup , your error and how you have configured the interfaces and package so far.

  • Error(not code #) when I try to open a JPG file in PhotoshopCS3

    I get a program error(not code #) when I try to open a JPG file in PhotoshopCS3 containing smart objects.
    I am running OS 10.5 on Intel Mac.
    Appreciate any feedback

    Is it really a JPG file if it has a smart object within?

  • My wife has an iphone 4 and it refuses to turn on. What can I do? (There's no sign or an error note, even when I charge it)

    My wife has an iphone 4 and it refuses to turn on. What can I do? (There's no sign or an error note, even when I charge it)

    Plug it into a wall outlet for at least 30 minutes, then try resetting it: Press the Sleep/Wake button & Home button at the same time, keep pressing until you(hopefully) see the Apple logo, then release.

  • My HP Pavilion dv6-2153ee recovery is not working when i choose it from boot menu selection

    my HP Pavilion dv6-2153ee  recovery is not working when i choose it from boot menu selection . it's run but then the windows run without running recovery. help me please?

    Hello Tajamal, 
    Welcome to the HP Forums!
    I understand the webcam isn't working since upgrading to Windows 8.1. I would have to suggest returning to Windows 8 since there are no 8.1 drivers, as indicated here: HP Pavilion dv6-7043cl Entertainment Notebook PC Drivers
    Please let me know if you have any other questions.
    Have a wonderful day! 
    Mario
    I worked on behalf of HP.

  • Error oracle.sql.* and oracle.jdbc.driver.* not found when using oracle as a database

    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama

    Hi Anupama,
    First of all I would be surprised if you would not like to use the connection pooling feature of weblogic (in which case you might not be needing the import the classes directly), and would like to open direct connections to your database. Anyways for doing that I would recommend you to check out the readme doc that ships
    along with the jdbc oracle (classes12.zip etc). I am giving an excerpt over here:
    These are a few simple things that you should do in your JDBC program:
    1. Import the necessary JDBC classes in your programs that use JDBC.
    For example:
    import java.sql.*;
    import java.math.*;
    2. Register the Oracle driver before before calling other JDBC APIs.
    (This is not needed if you are using the JDBC Server-side Internal
    Driver because registration is done automatically in the server.)
    To register the Oracle driver, make sure the following statement
    is executed at least once in your Java session:
    DriverManager.registerDriver(
    new oracle.jdbc.driver.OracleDriver());
    3. Open a connection to the database with the getConnection call.
    Different connection URLs should be used for different JDBC
    drivers. The following examples demonstrate the different URLs.
    For the JDBC OCI8 Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:oci8:@<database>",
    "scott", "tiger");
    where <database> is either an entry in tnsnames.ora or a SQL*net
    name-value pair.
    For the JDBC Thin Driver, or Server-side Thin Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@<database>",
    "scott", "tiger");
    where <database> is either a string of the form
    <host>:<port>:<sid> or a SQL*net name-value pair.
    For the JDBC Server-side Internal Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:kprb:");
    Note that the trailing ':' character is necessary. When you use
    the Server-side Internal Driver, you always connect to the
    database you are executing in. You can also do this:
    Connection conn
    = new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Hope this helps,
    Thanks,
    Anupama wrote:
    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama--
    Apurb Kumar

  • READ ME Before you decide to use IKM Oracle Multi-Insert in ODI 12c

    Ok, I've decided to write this to help out others who may be heading down this twisted mess and hope they can benefit from my pain.
    If using a sequence, do not use this IKM.
    The primary reason is Oracle's INSERT ALL statement is NOT atomic.  This means it WILL eventually give "ORA-02291: integrity constraint (XXX) violated - parent key not found" when it attempts to insert rows into the child table first.  To make it work, the constraint(s) in question must be disabled or set to deferred.  However, if either is done, there is no need to use the INSERT ALL because the multiple inserts can now be done in any order without error as long as everything is kosher at the time the constraint is enabled or set to immediate.  So the very fix for the IKM makes its use unnecessary.
    The second reason is it burns sequence numbers.  The IKM has a tendency of grabbing the filter (no matter how buried) right before it and putting it in the WHEN statement of the INSERT ALL.  This will burn sequence numbers because the rows are not filtered prior to being feed into the insert.  Not an issue for small rowsets, but for large rowsets or frequently run mappings the burn can be quite substantial.  This can be fixed by manipulating hints and/or the physical tab, but may result in poorer performance than just using a different IKM that doesn't burn sequence numbers.
    If you are doing anything else besides the multi-insert in the same mapping, beware!  This IKM does not allow ODI to respect the Target Load Order specified on the mapping.  I've found that it usually puts the multi-insert last in sequence.  It can be fixed by working on the physical tab, and making multiple targets but it also crashed several times when I was using it.  Additionally it resisted doing what seemed like simple tasks (like dragging multiple items at a time or trying to drag items off to the right of the execution units).  As I've said elsewhere, I think this is a bug and it will probably be fixed in the future.
    So my advice is avoid using this IKM at all costs.  Just disable or defer your constraints and use the other IKMs.
    BTW, if you want to defer the constraints, I've found you can set the On Connect command of the Physical topology to:
    ALTER SESSION SET CONSTRAINTS = DEFERRED
    and then select all the transactions in the list.  Trying it in the Begin Mapping Command of the mapping does not appear to work.
    Please let me know if I got anything wrong,
    Scott

    This is not the first instance of KM load strategy that has had the nasty side effect of burning sequence numbers - see the following:
    ODI Oracle Merge Incremental Update burns sequence values - jason's hyperion blog
    However, at least this one does now seem to have been modified to try and address this issue.

  • Error: "Not logged on in interface XBP"

    We are developing an external monitoring tool to call CCMS Bapi's via RFC calls.
    As per the documentation, we are opening RFC connection and then calling function module(BAPI).
    When we pass the BAPI, we get the error message "Not logged on in interface XBP".
    Kindly guide us if we are missing any steps

    Hi:
    Yes, you need to logon/logoff to the external interface first in order to call a BAPI; otherwise, the system will raise the exception message "Not logged on in interface XBP"
    Do the following in your code prior to calling the XBP BAPI:
       Start XMI Session - XBP Interface
      CALL FUNCTION 'BAPI_XMI_LOGON'
        EXPORTING
          EXTCOMPANY = '<Your Company Name or so>'
          EXTPRODUCT = '<Your Product Name or so>'
          INTERFACE  = 'XBP'
          VERSION    = '1.0'.
    Best Regards,
    Federico G. Babelis
    NetWeaver Certified Consultant
    GAZUM Technologies S.A.
    Consulting Services and Software Solutions
    http://www.gazum.com
    ...download FREE Marketplace Manager at: http://www.gazum.com/products

  • Web Form Hangs When Scrolling through Multi-Record Block

    Hello!
    I have a web-deployed form that uses the Sun Java JVM and utilizes WebUtil.
    We are using JDK v1.4.2.
    When I open this form using the Java plug-in and try to scroll through a multi-record block ... it will hang at various points and eventually I have to close the form because it won't respond.
    This does not happen if I simply access the form through the Microsoft JVM.
    Any suggestions?

    That's a know solved bug. You must install AS10g patchset 9.0.4.2.
    For me it solved the problem.
    Bug 3557904: Forms hangs (deadlocks) when scrolling on XP under some circumstances
    Joao Oliveira

  • Jbo error on multi records insertion

    using jdev 11.6 .
    error:..Too Many object matchs primary key oracle.job.key[10,1000].
    i have scenario ,have composite parimary key's on table . second parimary key genrating programatically upon when i clik on create opeartion. i m able to save records sccessfully when insert records one by one .
    in vo imple genrating the 2nd primay key and setting value to ---->this.getCurrentRow.SetAttribute("euid",pk2value);
    getting error only when i create a multiple records on table and then click on commit . seems when i commit all records taking latest 2nd pk as 1000 ,
    thanks i any suggestion on this ?
    how to resolve above error

    table have create and commit operation . new records insertion ll happen on popup -window .
    upon click on ok in dialog windows records get added to table and seting the pk value iin vo imple .. this.getCurrentRow.SetAttribute("euid",pk2value);
    how to set and retain value in voimple ?

  • Error ORA - 12637 when start Oracle 8i Personnel

    I have install oracle 8i personnel to the window 98 notebook. The installation successful without any error. But when I used the oracle8i navigator and click on the local database, error "ORA-12637: Can not attach to Oracle 8i" and "ORA-12637 - Packet Receive Failed"
    The same error encountered when I start the database.
    Appreciate if any could help on this matter.
    Thanks in advance.

    Hi
    Check weather entries are there in the registry.
    Go to the services in the control panel and see if the oracle service has started if not start it. If this is up then the registry is OK. if If not u can create it using the oradim utility.
    Then set your oracle_sid = <dbname> in the dos prompt and try connecting again.
    Let us see what happense

  • Error on log when query record

    SEVERE     114     0     oracle.dbtools.worksheet.sqlhistory.db.HistoryDB     sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)

    Please read the forum announcements before posting.
    K.

  • Scenario execution errors not logged

    Hi,
    in production environment, we start our scenarios by means of startscen.bat.
    Sometimes, when an error occurs, startscen.bat returns an error which does not appear in the operator log (scenario seems to be still running).
    Has someone been faced to such a behaviour? What can the problem come from?
    Thanks in advance for your tips.
    Fredd.
    Edited by: fredd2 on Feb 16, 2009 12:19 PM

    Hi Bhabani,
    Thanks for the reply.
    I am afraid that this is a major issue for me, I do not want to re-query the source table for each target table, but on the other hand I cannot fail the process for each invalid record and I need the logging.
    Can you think of a workaround for my use case?
    Thank you!

  • Error in logs when starting server

    Hi,
    when i am trying to start my app server on sunone. I am getting the following errors in the logs.
    CORE1116: Sun ONE Application Server 7.0.0_01
    SEVERE: CORE1227: NSS initialization failed: SEC_ERROR_BAD_DATABASE: Problem using certificate or key database: Certificate database: /apps/sunone/sun-appserver7/var/domains/domain1/nicks-8033/config/cert7.db.
    Thus any one knows why this error comes. I have installed a SSL certificate on this server. Can it be that this certificate has not been installed properly.
    Nikhil

    Ok, I finally got it figured out.
    I needed the original (to that HTTP Server ) modplsql.dll.
    There was no PATH issue.
    Once I got the oracle_apache.conf calling plsql.conf and marvel.conf, using the correct DADs, I was all set. I post my solutions to save others some grief.
    The original Service Temporarily Unavailable message (Mozilla) was due to the fact that the HTMLDB_PUBLIC_USER account was locked after my upgrade.
    Along the way, I ran into an access Forbidden error, which was caused by the incorrect password in the DAD.
    Two simple things - unlock the HTMLDB_PUBLIC_USER acount, and of course make sure the DADs are correct.
    And as soon as I can I will be contacting Anton to combine all into one HTTP Server -thanks!

Maybe you are looking for

  • JavaScript:  Help with IF Statement

    I am not familar with Java and I have been fighting with this IF statement and I cannot get it to work.  I am sure it is something fairly basic.  Can anyone help?  I have seeminly tried everything.  In this example below I am trying to check if the d

  • How to reverse a PSD file that's combined layers into one layer...

    Hi, I'm not quite sure what happened but I had a PSD file I was working on with multiple layers and then I saved a PDF of the file and I think I may of accidentally switched up the files somehow because now my PSD file's layers are all combined into

  • Quarter TDS returns process

    Hi guru,       Please can anybody explain about TDS return. T.code - J1INQEFILE.       How data are fetching from which table.?       Can anybody tell which table data are fetching for T.code - J1INQEFILE. Regards, manas

  • ABAP Runtime Error Intermediate Save

    Hello , I have an issue regarding following message that i see in the ABAP Runtime Error A RAISE statement in the program "SAPLCOVG" raised the exception condition "NOT_FOUND". Since the exception was not intercepted by a superior program, processing

  • Cannot sign into Adobe Photoshop Elements 10 - no access to online services or tutorials.

    Anyone else have problems signing into Adobe Photoshop Elements 10 tonight?  I keep getting error message 400 or the program simply freezes.  My adobe ID and password are valid.  Help Line told me to post this question here.  Any and all help are gre