BPM - DB Adapter retrieves the record from DB but says modelling error

We are trying to read a record from a view ( The View is a join of two tables ) . And the join condition is on a column called CUSTID ( whose values is also there ) . Looks like the query is executed and the values are retrieved but we get an exception saying "This exception is considered not retriable, likely due to a modelling mistake. " and "Primary keys must not contain null. ".
I am doing a transformation after the results are fetched . I am mapping the values directly to a payload xml . Is there any problem ?
Not sure what the problem is . Please help ! .
TIA
Stack Trace :
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'QuoteDetailsSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [QuoteDetailsSelect], Descriptor name: [QuoteDetails.Quotesummary]. Caused by Exception [EclipseLink-6044] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.QueryException Exception Description: The primary key read from the row [DatabaseRecord( QUOTESUMMARY.CUSTID => 1000 QUOTESUMMARY.GENDER => Female QUOTESUMMARY.FIRSTNAME => Remya QUOTESUMMARY.SURNAME => namboothiri QUOTESUMMARY.TELEPHONE => 9999 QUOTESUMMARY.DOB => 1970-01-01 00:00:00.0 QUOTESUMMARY.EMAIL => [email protected] QUOTESUMMARY.PWD => welcome1 QUOTESUMMARY.SORTCODE => 000 QUOTESUMMARY.ACCOUNTNUMBER => 111 QUOTESUMMARY.ACCOUNTNAME => remya QUOTESUMMARY.DDDATE => 2011-07-13 14:33:37.0 QUOTESUMMARY.MONTHLYBENEFIT => 2000 QUOTESUMMARY.RESIDENCE => Res QUOTESUMMARY.CONTEMPLOYMENT => null QUOTESUMMARY.REDUNDANCIES => null QUOTESUMMARY.EMPLOYMENTSTATUS => permanent QUOTESUMMARY.EMPSTARTDATE => 2011-07-13 14:33:37.0 QUOTESUMMARY.GROSSSAL => 40000 QUOTESUMMARY.BUSINESSTYPE => fulltime QUOTESUMMARY.BUSINESSROLE => manager QUOTESUMMARY.MORTAGE => 111 QUOTESUMMARY.LOAN => 2000 QUOTESUMMARY.CREDITCARDS => xxxx QUOTESUMMARY.USEDTOB_NICO => xxx QUOTESUMMARY.MEDICALCOVERED => yes QUOTESUMMARY.QUOTEID => 2000 QUOTESUMMARY.STATUS => initiated QUOTESUMMARY.AMOUNT => 400000 QUOTESUMMARY.POLICYTYPE => lifestyle QUOTESUMMARY.POLICYSUBTYPE => lf QUOTESUMMARY.MONTHLY_BENEFIT => 200 QUOTESUMMARY.COVERPERIOD => 2 QUOTESUMMARY.WAITPERIOD => 1 QUOTESUMMARY.COVERSTARTDATE => 2011-07-13 14:35:23.0)] during the execution of the query was detected to be null. Primary keys must not contain null. Query: ReadAllQuery(name="QuoteDetailsSelect" referenceClass=Quotesummary sql="SELECT CUSTID, GENDER, FIRSTNAME, SURNAME, TELEPHONE, DOB, EMAIL, PWD, SORTCODE, ACCOUNTNUMBER, ACCOUNTNAME, DDDATE, MONTHLYBENEFIT, RESIDENCE, CONTEMPLOYMENT, REDUNDANCIES, EMPLOYMENTSTATUS, EMPSTARTDATE, GROSSSAL, BUSINESSTYPE, BUSINESSROLE, MORTAGE, LOAN, CREDITCARDS, USEDTOB_NICO, MEDICALCOVERED, QUOTEID, STATUS, AMOUNT, POLICYTYPE, POLICYSUBTYPE, MONTHLY_BENEFIT, COVERPERIOD, WAITPERIOD, COVERSTARTDATE FROM QUOTESUMMARY WHERE QUOTEID = (?)"). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
Edited by: user13123387 on Jul 13, 2011 3:07 AM
Edited by: user13123387 on Jul 13, 2011 3:31 AM

I have seen that problem several times. It means you'll have to set your tuning parms. Have a look: http://www.it-eye.nl/weblog/2006/09/18/bpel-tuning-or-why-threads-matter/

Similar Messages

  • Code to Retrieve the message from Queue in Oracle BPEL

    Actually I am placing the Message into JMS Queue using JMS Adapter.After Placing the message,I need to retrieve the placed message from same queue.
    Right now I am using the Receive Activity and the JMS Adapter to retrieve the message from Queue.But my receive activity is always in the waiting state itself and I am not able to retrieve the message from queue.What might be the issue????
    Can anybody give me a better suggestion so that I can go ahead??
    Thanks in advance for your help.

    Hi Raja,
    Is the process a empty bpel process which is used to get the message from the MQ?
    Regards
    Surya

  • Is it possible to retrieve the data from maintainance view?

    Hi experts,
    Am facing one problem.
    Is it possible to retrieve the data from Maintainance View ,If yes how?
    IF it is not possible then Y?
    While am trying to retrieve data from maintainance view it's showing message like
    "it is not a database view or table".
    Can u pls give me ans.
    Thanks&Regards,
    Arun.

    Hi Arun,
    It is not possible to retrieve the data from Maintenance view. Maintenance View is different and Database View is different.
    Maintenance view : Maintenance view permits you to maintain the data of an application object together.The data is automatically distributed in the underlying database tables.
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    In other words, Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Database View: Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.A database view is automatically created in the underlying database when it is activated.Database views implement an inner join.If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Need help to retrieve the message from MQ using get operation

    Hi
    Used MQ adapter to Post a message to queue.
    And used Received activity in bpel to retrieve the message using MQ adapter from same queue(used get operation) , got an error message as timed
    out exception.
    Could some one assist in retrieving the message from MQ using get operation.
    Regards
    Raja

    Hi Raja,
    Is the process a empty bpel process which is used to get the message from the MQ?
    Regards
    Surya

  • Query to retrieve the records which have more than one assignment_id

    Hello,
    I am trying to write a query to retrieve all the records from the table per_all_assignments_f which has more than one different assignment_id for each person_id. Below is the query i have written but this retrieves the records even if a person_id has duplicate assignment_id's but i need records which have more than one assignement_id with no duplicates for each person_id
    select assignment_id ,person_id, assignment_id
    From per_all_assignments_f
    having count(assignment_id) >1
    group by person_id, assignment_id
    Thank You.
    PK

    Maybe something like this?
    select *
    From   per_all_assignments_f f1
    where  exists (select 1
                   from   per_all_assignments_f f2
                   where  f2.person_id = f1.person_id
                   and    f2.assignment_id != f1.assignment_id
                  );Edited by: SomeoneElse on May 7, 2010 2:23 PM
    (you can add a DISTINCT to the outer query if you need to)

  • To retrieve the data from the database in variance of case

    Hi,
         I need to retrieve the data from database in variance of  lowercase or uppercase in the select-options.

    hi,
    just write a normal select statement
    with where condition
    select *,....
    where <databasefield> IN s_opt. (your select option field)..
    This will fetch records your lower and upper limit..
    is this what  you are searching for?
    If not , if specific for lower and then upper then use parameters and add in the intervals..
    rewards if useful
    regards,
    nazeer.

  • How to retrieve the values from a LinkedList

    Hello,
    I have just put this question in java programming forums by mistake...I think that it should be here ...
    I have created a LinkedList to store the results of a query to a database.
    These reasults are decimal numbers and then I want to sum all these numbers to be able to make the average.
    But when I try to retrieve the values of the Linked List I always receive an incopatible types error..
    Here is an extract of my code in a jsp page.
    LinkedList Average = new LinkedList();
    String Media = rst.getString(10);
    Average.add(Media);
    int Size = Average.size();
    double Sum = 0.0;
    for (int i=0; i<=Size; i++)
                    double Result = Average.get(i)     
                  Sum = Sum + Result;
    }If I try to retrieve the value of only one node from the list , I can just putting <%=Average.get(i)%>...but..how can I retrieve all the values (they are decimal numbers) to be able to add them?

    If you want to sum all the values, is there any reason you just don't retrieve the sum from the database rather than the list of values?
    anyway
    List average = new LinkedList();
    while (rst.next()){
      // retrieve the number:
      String mediaString = rst.getString(10);
      Double media = Double.valueOf(mediaString);
      // or maybe like this if it is a number in the database
      Double media = new Double(rst.getDouble(10));
      average.add(media);
    doubleSum = 0.0;
    for (Iterator it = average.iterator(); it.hasNext(); ){
      Double result= (Double) it.next();
      doubleSum += result.doubleValue();
    }

  • How to retrieve the values from a table if they differ in Unit of Measure

    How to retrieve the values from a table if they differ in Unit of Measure?

    If no data is read
    - Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
    If no quanity in result internal table
    - There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
    - - Remove the CORRESPONDING, so quantity will fill the first field adqntp1.  ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
    - - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
    * Fill the internal table
    SELECT msehi adqntp
      INTO TABLE internal table
      FROM lipso2
      WHERE vbeln = wrk_doc1
        AND msehi IN ('KL','K15','MT').
    * If required move the read quantity in the appropriate column.
    LOOP AT internal_table ASSIGNING <fs>.
      CASE <fs>-msehi.
        WHEN 'K15'.
          <fs>-adqnt2 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
        WHEN 'MT'.
          <fs>-adqnt3 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
      ENDCASE.
    ENDLOOP.
    - You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
    Regards,
    Raymond

  • How to retrieve the values from PL/SQL table types.

    Hi Every one,
    I have the following procedure:
    DECLARE
    TYPE t1 IS TABLE OF emp%ROWTYPE
    INDEX BY BINARY_INTEGER;
    t t1;
    BEGIN
    SELECT *
    BULK COLLECT INTO t
    FROM emp;
    END;
    This procedure works perfectly fine to store the rows of employee in a table type. I am not able to retrieve the values from Pl/SQL table and display it using dbms_output.put_line command.
    Can anybody help me please!!!!!
    Thanks
    Ahmed.

    You mean, you can't add this
    for i in t.first..t.last loop
    dbms_output.put_line(t(i).empno||' '||t(i).ename||' '||t(i).job);
    end loop;or you can't add this
    set serveroutput onor maybe, you are working in third party application where dbms_output is not applicable at all?
    You see, not able like very similar it is not working - both are too vague...
    Best regards
    Maxim

  • How can i get all the records from three tables(not common records)

    Hi
    I have four base tables at R/3-Side. And i need to extract them from R/3-Side.
    And i dont have any standard extractor for these tables .
    If i create a 'View' on top of these tables. Then it will give only commom records among the three tables.
    But i want all the records from three base tables (not only common).
    So how can i get the all records from three tables. please let me know
    kumar

    You can create separate 3 datasources for three tables and extract data to BW. There you can implement business login to build relation between this data.

  • Retrieve the records based on date where date is not stored

    Hi,
    I have one table in Oracle.
    I want to retrieve the records which are added or modified after a particular date & time.(but the table does not contain any column for date & time )
    For example: Product table(pid number,pname varchar2)
    i am entering 10 records on date 21/07/2005
    i am entering 20 records on date 22/07/2005
    i am entering 15 records on date 23/07/2005
    i am entering 30 records on date 24/07/2005
    If i want to retrieve the records added after 22/7/2005
    (ie.) last 45 records
    But the table does not contain any date field.
    How will you know date & time of each record updated in the table.
    If any one knows, help me.
    bye.

    for 9iR2: check out online document of Oracle9i Application Developer's Guide - Fundamentals and search flash back query
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg08sql.htm#10851
    for 10G, flash back feature is enhenced to whole database level, you can still use flash back query though.

  • Is there a simple way to retrieve the data from a resultset using JavaBean?

    I have a result set from a select * from users where userid = xxx statement. However, at the moment I have had to hard code the remainder of the code to get the data from each column as I need the column name as well as its data.
    I had read somewhere using java beans and reflection it is easier. But i do not know know how.
    Is there a simple way to retrieve the data from a result set ?
    thanks in advance-
    kg

    Well, it is not really simple. But there are Open Source components to simplify it for you. See e.g http://www.must.de/Jacompe.htm - de.must.dataobj.DataObject and its subclasses. Feel free to contact me if you have any questions: [email protected]

  • There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)

    Hi there,
    When I'm trying to manage spaces in SAP Business Objects Explorer 4.1 SP04, I'm getting the following error:
    Failed to retrieve the data source list.
    There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)
    For input string: "false"
    I've already restart Explorer servers (Explorer Exploration Server, Explorer Indexing Server, Explorer Master Server and Explorer Search Server) and rebooted the server where Explorer is installed.
    Nothing seems to fix this error message. I'm not able to create new spaces because I cant access the sources:
    I'd appreciate some help !
    Thanks in advance

    HI Pavan,
    Admin is on the Administrators Group, which as Full Control on the Explorer Application
    I think this worked on the day the Explorer was installed (past week).
    Since them never worked.

  • No data Exists error while retrieving the data from a table

    Hi Everyone!
    I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding this

    Hi !
    thanks for ur response...
    I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake....

  • Is there any way to name the records from a data merge?

    I have a spreadsheet, that has all the names for the images I'm using for a data merge. What I want to do is name the resulting records after the filenames in one of the columns in the spreadsheet. Is there anyway to do this? Or is there some other way to individually name the records from a data merge? I don't have any scripting prowess, so I can't really mess with that. Any help is greatly appreciated! Thanks!

    You merge it along with the others, just like any field. ID cannot do the naming for you during the merge, but most spreadsheets have lots of logic capabilities that should allow you to extract a name for the record from the filename in the column of your choice. The only reason ID knows to find the image instead of writing the filename is that you've used a special name for the field.

Maybe you are looking for

  • Itunes 7.02 Upgrade Prob. Doesnt Play or Move Progression Ba

    Had old version of itunes and it worked like a charm. Now this thing recognizes my old libraries but it will not play anything it recognizes. The player just stays at 0 seconds and the progression bar doesnt move. Any ideas?

  • My Wifi no longer works - can someone please help me? My

    so my internet hasn't worked properly in two weeks. I can get it to work for five seconds but then it cuts off and no longer works. The wifi is fine on all my devices except my iMac. Once it cuts off I can turn the wifi on and off and it usually star

  • Multi Fact RPD with Compatibility Error

    All, I was wondering if you can help with this issue.  Here is a picture of my RPD model in Oracle OBIEE 11g BI Administrator: http://scottysols.files.wordpress.com/2013/09/multi_fact_model.png?w=908 It is in the format D1 <-- F1 --> D2 <-- F2 --> D3

  • New Insignia NS-L55X-10A sound not in sync with surround sound

    My new Insingina NS L55X 10A was delivered this morning, replacing a 7 year old 52" Hitachi.  Of course they just swapped the TV's, plugged it up and attached the cable coax and made sure it would turn on.  I didn't notice until they left, but the so

  • WS 2.0 and Skipnode

    Does anyone have any examples of using the Webservices 2.0 and Skipnode to create/update/delete child records? The Oracle Web Services On Demand Guide mentions several times that you can but there are no examples. "For the Web Services v2.0 Execute m