Validation problem when update a row in OAF

created a application using OAF. No problem to create a row, when tried to update the row, received the following error message:
oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key
2) Steps to Reproduce
select a row from search result page for update, after change the value and apply it, received the following error message:
oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key

yes. it is the EO based VO page. Create and Update used same VO and no problem to create the row, had problem when update the row.

Similar Messages

  • Error in replicat when updating a row

    Oracle 11gR2
    OGG 11.1.1.1.5
    I am getting the following error when updating a row that exists in both the target and source db:
    OCI Error ORA-01403: no data found, SQL <UPDATE....The following is in the discard file:
    Record not found
    Mapping problem with compressed key update record (target format)...
    ...The row DOES exist in the target db for sure. But for some reason it thinks that it is not there...why?
    Here are the exact steps I did:
    1. Created a table in source
    2. Create the same table in target (explicitly not through replication as we have an exclude filter on 'CREATE')
    3. Inserted rows into source table (which were replicated to target table).
    4. Delete a row in the source table (which were not applied to target as I am using the IGNOREDELETE parameter)
    5. Update a row in the source table (this is where I got the above mentioned error 'ORA-1403' even though the row does exist.)

    mb_ogg is very likely right - you forgot to "add trandata" as that's the number one most common reason for an ORA-1403 (ANSI 100) no data found error.
    The problem is that Oracle does not automatically log the PK, it only logs that which changed. Down at the replicat on the target it tries to update but the WHERE clause has PK = NULL because it was not logged in the redo. To have it logged in the redo so that the target UPDATE statement has a correct value for PK, you need to use GGSCI to issue "add trandata," which performs an "ALTER TABLE ADD SUPPLEMENTAL LOG GROUP ... ALWAYS".
    "INFO TRANDATA", if using OGG version 11.2+ on Oracle it will tell you if logging is enabled on a table and for which columns.
    Good luck,
    -joe

  • ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate

    ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
    1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
    TABLE NAME - EMP
    Item Containing PRIMARY KEY - P2099_EMPNO
    Primary key column - EMPNO
    By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
    2) Created a HTML region. Within this region add
    text item P2099_FIND_EMPNO
    Button GET_EMP to submit
    Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
    If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
    I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
    EXIST (SQL query returns at least one row)
    select 'x'
    from EMP
    where EMPNO = :P2099_EMPNO
    But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
    Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
    Any ideas?
    Thanks Pete

    Hi Mike,
    I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER
    0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
    0.05: Show ERROR page...
    0.05: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
    Thanks Pete

  • I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error.

    I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error. I must to force quit iphoto window. There are any fixed bug update.

    If you have no photos:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and start.
    Regards
    TD

  • I have a problem when updating applications on iOS 7.0.2

    I have a problem when updating apps on iOS 7.0.2 to go to the appstore I get the update but only tells me open, not update, I have to uninstall and reinstall te app and gives me the option to update. Sorry my bad english

    I am in the process of installing 9i on SUSE Linux 7.2. The only Linux that is certified to run 9i. The machine is is a fresh install of SUSE. I am running into the same problem. I ran through the first make problem by going to a shell and invoking a make -f oemagent.mk. Built the library just fine. Got errors when trying to run make -f ins_rdbms.mk. Not sure why the installer or the command line is having problems.
    Not sure if I can just hit Ignore and go on????
    Any help would be appreciated. You would think 9i would spread like butter on their "Certified" platform.

  • I have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!

    i have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!.
    one more question when i phone5 update with iOS 8.1.2 this iOS supported iphone5???

    Hi Ios 8.1.2 Should work on iPhone 4s / 5 You may have a bug Backup to  cloud over WiFi Then Restore back to Factory  Settings This will make iPhone as new. Use same Apple ID & you will get your Apps & Data back Do Restore over your WiFi. Cheers Brian

  • Hlep.. Problem when updating aspx templates

    Hi there, I-m having a huge problem when updating pages from
    a .asp template, it replaces my 1 line of code
    with <%@ Page Language="VB" ContentType="text/html"
    ResponseEncoding="iso-8859-1" %> and errases the resto of the
    attributes i have on each page, making it unfunctionable.
    Does anyne know why the template when updating does that?
    thanks for your help

    Hi Suman,
    The changes are getting lost when i logout and login back to SAP.
    In Current session i am able to see the changes. But changes are lost as soon as i end up my session,
    but this is happening only in case of template box width. All other changes are retained between my various SAP sessions.
    So wanted to know if any other value is over-writing the template box width values.
    Regards
    Manpreet Singh

  • Deadlock when updating different rows on a single table with one clustered index

    Deadlock when updating different rows on a single table with one clustered index. Can anyone explain why?
    <event name="xml_deadlock_report" package="sqlserver" timestamp="2014-07-30T06:12:17.839Z">
      <data name="xml_report">
        <value>
          <deadlock>
            <victim-list>
              <victimProcess id="process1209f498" />
            </victim-list>
            <process-list>
              <process id="process1209f498" taskpriority="0" logused="1260" waitresource="KEY: 8:72057654588604416 (8ceb12026762)" waittime="1396" ownerId="1145783115" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.430" XDES="0x3a2daa538" lockMode="X" schedulerid="46" kpid="7868" status="suspended" spid="262" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783115" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
               <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales1', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'ABCD' AND cam_window= 2   </inputbuf>
              </process>
              <process id="process9cba188" taskpriority="0" logused="2084" waitresource="KEY: 8:72057654588604416 (2280b457674a)" waittime="1397" ownerId="1145783104" transactionname="implicit_transaction"
    lasttranstarted="2014-07-30T02:12:16.427" XDES="0x909616d28" lockMode="X" schedulerid="23" kpid="8704" status="suspended" spid="155" sbid="0" ecid="0" priority="0"
    trancount="2" lastbatchstarted="2014-07-30T02:12:16.440" lastbatchcompleted="2014-07-30T02:12:16.437" lastattention="1900-01-01T00:00:00.437" clientapp="Internet Information Services" hostname="CHTWEB-CH2-11P"
    hostpid="12776" loginname="chatuser" isolationlevel="read uncommitted (1)" xactid="1145783104" currentdb="8" lockTimeout="4294967295" clientoption1="671088672" clientoption2="128058">
                <inputbuf>
    UPDATE analyst_monitor SET cam_status = N'4', cam_event_data = N'sales2', cam_event_time = current_timestamp , cam_modified_time = current_timestamp , cam_room = '' WHERE cam_analyst_name=N'12345' AND cam_window= 1   </inputbuf>
              </process>
            </process-list>
            <resource-list>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process9cba188" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process1209f498" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
              <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor" indexname="IX_Clust_scam_an_name_window" id="lock18ee1ab00" mode="X" associatedObjectId="72057654588604416">
                <owner-list>
                  <owner id="process1209f498" mode="X" />
                </owner-list>
                <waiter-list>
                  <waiter id="process9cba188" mode="X" requestType="wait" />
                </waiter-list>
              </keylock>
            </resource-list>
          </deadlock>
        </value>
      </data>
    </event>

    To be honest, I don't think the transaction is necessary, but the developers put it there anyway. The select statement will put the result cam_status
    into a variable, and then depends on its value, it will decide whether to execute the second update statement or not. I still can't upload the screen-shot, because it says it needs to verify my account at first. No clue at all. But it is very simple, just
    like:
    Clustered Index Update
    [analyst_monitor].[IX_Clust_scam_an_name_window]
    cost: 100%
    By the way, for some reason, I can't find the object based on the associatedObjectId listed in the XML
    <keylock hobtid="72057654588604416" dbid="8" objectname="CHAT.dbo.analyst_monitor"
    indexname="IX_Clust_scam_an_name_window" id="lock4befe1100" mode="X" associatedObjectId="72057654588604416">
    For example: 
    SELECT * FROM sys.partition WHERE hobt_id = 72057654588604416
    This return nothing. Not sure why.

  • I have problem when update to belle the folder of ...

    I have problem when update to belle the folder of games disappear??  c7
    I need to solve ??? Plus

    Do you mean that pink folder w/ the controller icon on it?  I lost that too on my N8.  Actually, lost all of the folders that came with Anna like Applications & Music.  Wish I could get them back as now I can only make the generic yellow folder which isn't as aesthetically appeasing.
    However, reading articles on Belle there was a picture of a Belle N8 with the games folder shortcut on the homescreen - so maybe it still exists & I just cannot find it.
    Good luck & I'll let you know if I figure this out.

  • I have problem when updating the latest version of Pro-X, I tried for several times, so I uninstall and re-install it. It is unsuccessful to re-install the Pro-X and it direct me to ask help from CS,also showing this message: Exit Code: 6  Please see spec

    I have problem when updating the latest version of Pro-X, I tried for several times, so I uninstall and re-install it. It is unsuccessful to re-install the Pro-X and it direct me to ask help from CS,also showing this message: Exit Code: 6  Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW025, DW050 ... WARNING: DW024, DW025 ..., please advice me the step to re-install the Pro-X. Thanks

    Please follow Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5
    Do let us know if it worked.
    Regards
    Rajshree

  • Bug in Tabular form Not Exist Validation, fails when creating multiple rows

    Hi,
    I have a Not Exist validation created for a Tabular form:
       select 1 from my_table where col1 = :col1 and col2 = :col2Execution State: For created and Modified Rows
    which is working fine when a row already there in DB
    and I am trying to enter a new row with same data.
    but when there's no data and I enter two rows with same data, validation does not fire, first row should allowed to enter
    but for second row it should give error that data already exists, which is not happening.
    for example,
    let's say I have a row in DB with: 1, 2, 3
    when I try to add a new row with same data ie. 1, 2, 3 validation fires and showing error, which is fine.
    but let's say there's no data in DB and I am entering two rows with:
    1, 2, 3
    1, 2, 3
    validation is not working this time, it is allowing to enter both the rows.
    do I need to create a manual validation for this or what?
    Apex 4.1.1.00.23
    Regards,
    Tauceef
    Edited by: Tauceef on Dec 6, 2012 10:09 AM
    Edited by: Tauceef on Dec 6, 2012 11:22 AM
    Edited by: Tauceef on Dec 6, 2012 11:27 AM

    Hello Tauceef,
    >> Now I got it, I was under impression that it will validate one by one row before insertion,
    >> but it's going to check all the rows first, then do the insertion.
    Just to clear things up, the APEX engine works exactly as you describe, but this is your problem.
    The APEX engine do check\validate all the rows first, one row at a time, and only if all the rows pass validation, the DML processes kick in. The DML processes work on the entire Tabular Form record set (per page view, of course).
    In order for your type of validation to work (the one that queries the database), as you want it, the validation and DML actions have to run together, row by row. This is not how things work, because it’s less efficient/optimal, and may lead to a situation where a certain row can fail validation, but other row(s) already been inserted/updated/deleted into/from the database. This could be a very tricky situation.
    Vikram has suggested to rely on a database constraint, and control the APEX error message. This is possible, although I’m not sure that in this case, the Tabular Form will retain all the user changes, in case of validation error. You should check it.
    Another option, which Marc hinted on, is to manipulate the G_Fxx arrays. In your case, you should loop through the new rows, compute their MD5, and make sure that all the rows have different MD5 values. This is on top of the current validation, which makes sure that the new rows do not already exist in the database.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Problem to update 16 rows, it updates all rows in table

    I tried to update 16 rows with AL as divion name with the script as below:
    Update wire_center a set a.wg_id='63'
    where EXISTS (select b.div_name from wire_center a, division b, district c, ns_workgroups d
    where B.DIV_NAME='AL' AND a.dis_id=c.dis_id and b.div_id=c.div_id and d.wg_id=a.wg_id );
    When I run it, it updates all the rows in the table.
    However when I run the select subquery, it returns 16 rows.
    It seems where EXISTS is the problem. if I take exists out, it gave me ora-00936 error.
    How to fix it? Please need urgent help. db is 10g.
    Thanks in advance.

    If I understand correctly what you want, you should not include wire_center again in the second select (in your exists clause).
    The second select has no relation to the table you are updating, so because the second select returns 16 rows, the exists will always be true. For every row. So every row will be updated.
    Instead of
    Update wire_center a set a.wg_id='63'
    where EXISTS (select b.div_name from wire_center a, division b, district c, ns_workgroups d
    where B.DIV_NAME='AL' AND a.dis_id=c.dis_id and b.div_id=c.div_id and d.wg_id=a.wg_id );try this:
    Update wire_center a set a.wg_id='63'
    where EXISTS (select b.div_name from division b, district c, ns_workgroups d
    where B.DIV_NAME='AL' AND a.dis_id=c.dis_id and b.div_id=c.div_id and d.wg_id=a.wg_id );Edited by: theoa on 29-dec-2010 14:27

  • Problem when editting a row in report

    Hello,
    I have a problem when I want to edit a row in a report.
    I have created a form with report, and now whe I click on the edit icon on the report page, it navigates me to the form page but wothout the row data, so it let me create a new row..
    What should I do??

    Hi,
    After editing the row go to session vales in the form page and see if the hidden primary key column has a value set ?
    Did you do any changes to the form or report after creating "From on a table with report" ?
    If you can recreate the issue in http://apex.oracle.com i can look into it.
    Edited by: Apex-Ape on Jun 17, 2012 7:10 AM

  • Problem when Updating the Challan (J1INCHLN)

    Dear Expert,
            I am facing problem when i am updating Challan throught 'J1INCHLN'. I  debuged the  'J1INCHLN' and got the problem that TDS line item in BSEG table and TDS line item in WITH_ITEM does not match. 
    Thank you in advance,
    Denish Patel.

    Hi,
    This error also comes if you donot mention Business Place and Section code during the transaction.  Please check whether
    you have defined business place and section code and assigned to your company code and also entered them during
    transaction.
    Regards,
    Sadashivan

  • [HELP] Problem when update 1 unicode form

    hi all,
    I got a problem when I update unicode form :(
    so, I have already tested my web application (Struts-ibatis-velocity-tiles) on my PC (tomcat 5.5.12, mysql 4.1 - utf8 default, JDK 5.0), everything was okie. I could update 1 unicode form (the form which contains unicode characters - firstname, lastname). I use 1 filter for output and input, below is my web.xml:
    <!-- Filter to set character encoding on each request -->
    <filter>
    <filter-name>Set Character Encoding</filter-name>
    <filter-class>filters.SetCharacterEncodingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <!-- Define filter mappings for the defined filters -->
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>velocity</servlet-name>
    </filter-mapping>
    but ... when I deploy and run it on eatj.com, mysql4.1 - utf8, jdk 5.0, I couldn't update unicode form, my last name and first name fields couldn't be saved with unicode characters (utf-8) ...
    what happened :( ... Is this problem of hosting or my web application ??? :(
    help me :(
    thanks in advance,
    bowlkhin

    You need to install the bc package. Apparently the script uses bc to calculate some integer values.
    Brian

Maybe you are looking for