Parent key is not a problem

Scenario is,

I have a detailed form master, master and detail VO are seen to be linked.  but im facing parent key of the Commission of the DATA not found error.

Investigate,

I have doDML Override method in master and detail of the entities

in the doDML method I checked posted the attribute value to see what has been assigned to the DB and what Cache EO

protected void doDML (int i, TransactionEvent transactionEvent) {}
Object postedEmployeeId = getPostedAttribute ((DOCID));
EmployeeId = this.getAttribute (DOCID) object;
System.out.println ("master publication DOC ID value" + postedEmployeeId);
System.out.println ("Re post master DOC ID value" + employeeId);
super.doDML (i, transactionEvent);
}

Layer model works very well I checked by running model tester.

committed through model Tester

I receive after release

Posted RCV091507010001 master DOC ID value

Re post value DOC ID master RCV091507010001

Published DOC ID RCV091507010001 retail value

Re post DOC ID RCV091507010001 retail value

his average master EO doDML method by first calling (normal behavior)

but when I trying to commit data through the page then doDML Detail method call (strange) first, I think that there is a problem on the user interface components, but I don't know what?

Ashish Awasthi aJohny

J dev Version: 11.1.2.4

You have to control the order the lines post as described in documents https://docs.oracle.com/cd/E29049_01/web.1112/e16182/bcentities.htm#CEGJAFCF

Timo

Tags: Java

Similar Questions

  • Impdp table parent key not found error

    I can't import a table into a database of 10.2.0.5 for 11.2.0.3 another. When I imported the first I get 1 error on creating a 1 constraint:

    Impdp tables of lego/password = estact directory = datapump dumpfile = estact.dmp

    Import: Version 11.2.0.3.0 - Production on Wed Apr 2 13:25:22 2014 Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved. Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, Automatic Storage Management, OLAP, Data Mining

    and Real Application Testing options

    Table main "LEGO". "' SYS_IMPORT_TABLE_01 ' properly load/unloaded

    Departure "LEGO". ' SYS_IMPORT_TABLE_01 ': lego / * tables = directory = datapump dumpfile = estact.dmp estact.

    Object type TABLE_EXPORT/TABLE/TABLE processing object TABLE_EXPORT/TABLE/TABLE_DATA of treatment type

    . . imported "LEGO". "' ESTACT ' 56.01 MB 612972 lines

    Processing object type TABLE_EXPORT/TABLE/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRANT

    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX

    Object type TABLE_EXPORT/TABLE/CONSTRAINT/treatment

    Object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment

    Object type TABLE_EXPORT/TABLE/COMMENT of treatment

    Object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment

    ORA-39083: Type as ref_constraint cannot be created with the object error:

    ORA-02298: cannot validate (LEGO. EstOp_EstAct) - parent key not found

    Because sql is:

    ALTER TABLE 'LEGO '. "' ESTACT ' ADD 'EstOp_EstAct' of CONSTRAINT FOREIGN KEY ('ESTOP_ID')

    REFERENCES "LEGO". "" ESTOP "ENABLE ("ESTOP_ID")

    Object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment

    Working "LEGO". "" SYS_IMPORT_TABLE_01 "completed with error (s 1) at 13:25:28

    Load data however this foreign key is not there then try to create manually after I get this error:

    "ORA-02298: unable to validate (LEGO." EstOp_EstAct) - parent key not found ".

    This source table has 3 foreign key constraints. The one that I'm having a problem setting (above) is a constraint against himself.

    I tried another approach. I exported and imported the metadata only and successfully completed. However when I then exported and imported DATA only, the data will not now with the same error:

    ORA-31693: Table object 'LEGO' data "' ESTACT ' failed to load/unload and being ignored because of the error:

    ORA-29913: error in executing ODCIEXTTABLEFETCH legend

    ORA-02291: integrity constraint (LEGO. EstOp_EstAct) violated - key parent not found

    My question is what I have to do something different when you work with a table with a foreign key against himself constraint?

    Here's the DOF of the source table and 3 foreign keys:

    CREATE THE LEGO TABLE. ESTACT

    (

    ESTOP_ID NUMBER (10,0) NOT NULL,

    OPCLASS_CODE VARCHAR2 (10) NOT NULL,

    ESTACT_FLAG NUMBER (5.0) NOT NULL,

    COSTR_NO_EST NUMBER (5.0) NULL,

    ESTACT_TIME NUMBER (10,0) NULL,

    ESTACT_FIX_COST NUMBER (20.4) NOT NULL,

    ESTACT_VAR_COST NUMBER (20.4) NOT NULL,

    ESTACT_LAB_COST NUMBER (20.4) NOT NULL,

    ESTACT_OEX_COST NUMBER (20.4) NOT NULL,

    ESTACT_TOT_COST NUMBER (20.4) NOT NULL,

    ESTACT_PRI_COST NUMBER (20.4) NOT NULL,

    ESTACT_CM_PRICE NUMBER (20.4) NOT NULL,

    ESTACT_PRI_RATE NUMBER (20.4) NOT NULL,

    ESTACT_IS_PRICE NUMBER (5.0) NOT NULL,

    NUMBER OF ESTACT_BASE_QTY NULL,

    RULE_CODE_BASE_QTY VARCHAR2 (10) NULL,

    ESTACT_NUM_FORMS NUMBER (5.0) NULL,

    ESTACT_FIXMIN NUMBER (10,0) NULL,

    UNIT_CODE_BASE VARCHAR2 (10) NULL,

    UNIT_CODE_INPUT VARCHAR2 (10) NULL,

    ESTACT_AFLAG NUMBER (5.0) NOT NULL,

    NUMBER OF ESTACT_AOPRATE NULL,

    RULE_AOPRATE VARCHAR2 (10) NULL,

    NUMBER OF ESTACT_AWARATE NULL,

    RULE_AWARATE VARCHAR2 (10) NULL,

    NUMBER OF ESTACT_OPRATE NULL,

    NUMBER OF ESTACT_WARATE NULL,

    RULE_CODE_COSTR VARCHAR2 (10) NULL,

    RULE_VAL_COSTR NUMBER (5.0) NULL,

    RULE_CODE_FIXMIN VARCHAR2 (10) NULL,

    CONSTRAINT ESTACT_IDX0

    PRIMARY KEY (ESTOP_ID, OPCLASS_CODE)

    USING INDEX TABLESPACE INDEX

    PCTFREE 10

    INITRANS 2

    MAXTRANS 255

    STORAGE INITIAL (128K

    DEFAULT USER_TABLES)

    ENABLE

    VALIDATE

    )

    BUNCH OF ORGANIZATION

    TABLESPACE USERS

    LOGGING

    PCTFREE 10

    PCTUSED 0

    INITRANS 1

    MAXTRANS 255

    STORAGE (DEFAULT USER_TABLES)

    NOPARALLEL

    NOCACHE

    NOROWDEPENDENCIES

    This is the foreign key DDL. Note the 1 that refers to the same table (the one I'm having a problem with)

    ALTER TABLE LEGO. ESTACT

    ADD CONSTRAINT 'EstOp_EstAct '.

    FOREIGN KEY (ESTOP_ID)

    REFERENCES TO LEGO. ESTOP (ESTOP_ID)

    ENABLE

    VALIDATE

    /

    ALTER TABLE LEGO. ESTACT

    ADD CONSTRAINT 'RuleCodeCost_URULE '.

    FOREIGN KEY (RULE_CODE_COSTR)

    REFERENCES TO LEGO. URULE (URULE_CODE)

    ENABLE

    VALIDATE

    /

    ALTER TABLE LEGO. ESTACT

    ADD CONSTRAINT 'EstActURule_FixMin '.

    FOREIGN KEY (RULE_CODE_FIXMIN)

    REFERENCES TO LEGO. URULE (URULE_CODE)

    ENABLE

    VALIDATE

    /

    Post edited by: karine

    As Galo indicated Balda, your child table (LEGO. ESTACT) has a folder that does not exist in your table parent (LEGO. ESTOP) and this effect is impossible to create the foreign key.

    You can find the recordings by running:

    select estop_id from LEGO.ESTACT -- CHILD TABLE
    minus
    select estop_id from LEGO.ESTOP -- PARENT TABLE
    

    AFTER BACK YOU UP YOUR DATA, you need to create the new record in the parent table or remove the child table record in order to comply with the foreign key constraint.

  • When I enter a Web site in the url of the Enter key does not work. I have to click on the arrow at the end of the line. Is this a configuration problem?

    The Enter key does not work in the line of the URL. If I go says:
    www.Bing.com
    and then press the Enter key, nothing happens.
    I have to click the arrow at the end of the field in order to activate the link.
    If I am anywhere else on any page the Enter key works as it should.

    Please click the button of resolved next to the answer that solved your problem of Firefox support, when you are connected.

  • Activation problems! Code __Error: 0xC004F050... The Software Licensing Service reported that the product key is not valid.

    I can't activate my OS. I use Windows Vista home premium, Service pack 2 (6.0.6002). I've been using that copy of Vista for over a year now without any problems of this kind. But now it seems that the product key - that came with the dvd when I BOUGHT it - is now invalid. I made sure that I didn't type in evil, but still the same issue. I tried to restore to a point earlier this afternoon, and once I failed tried to restore the system to a point, 2 days ago, but still not good. I thought he would have noticed in settings at that time at the time that my OS was still valid, but no.

    The error began just after I had a problem during the game Flight Simulator x, and I was forced to shut down the computer because the game froze. I do not have a GPU, I use shared graphics memory and I think that I have would be overloaded or something. But when I went to start windows again, after that I selected "start windows normally", he asked me for the product key and the rest is history.

    See you soon!

    magiva

    Yeh that did not work, BUT cause the just dissappeared. See, problems sometimes just disappear!

    Here is what I tried:

    Enter the product key, after that I was invited to get in - that I found on the sticker on the side of the Tower. came up with the error that is the title of this thread.

    activation of vista via phone (as has been mentioned in the previous post). I couldn't find any activation ID. as I said before, there were nine empty groups, labeled as 1-9 - I had nothing to enter.

    tried to restore the system to a previous date: 1stly early in the afternoon, when everything was still ok. that did not work. then I tried a date that was two days before and that no longer works. It didn't work because the actual restoration process has not successfully completed - an error has occurred, so I'm not a not actually restore at any earlier date at all.

    has rang tech support and the guy was just as confused as I was at my lack of installation ID. He forced me to check a few other things, and then he forced me to restart it... then a 2nd time to make sure, as he was about to try something else.

    I logged in the 2nd time and wahllaaah! Back to normal, just had to put a round back photo upward once again, because the Office was all black - like what happens when you don't have a copy authentic Vista I guess. the guy said, after I interrupted him let him not the problem only "disappeared", his answer was ' really? OK, well, Sir, if you have problems in the future, please contact us again and just to mention the case number that gave you".

    Hey interesting? someone tell me why this happens?

    magiva

  • Lost my copy and I tried to download the iso from the Microsoft web site, but my product key will not validate, pass this message: we had a problem with the validation query

    Original title: error Windows 7 installation files

    I bought a copy of Windows 7 at Tiger Direct on 22/05/2014.  I lost my copy and I tried to download the iso from the Microsoft web site, but my product key is not valid.  I get this error message

    We had a problem with the request for approval.

    FAQ

    See for other directions:

    http://answers.Microsoft.com/en-us/Windows/wiki/Windows_7-update/how-to-what-are-my-options-for-obtaining-Windows-7/528163c1-0b2e-4AD2-a26d-7112851d1dc2

  • Parental controls does not: Impossible to make changes to parental controls settings. If the problem persists, see your system administrator.

    Original title: Parental control does not

    Try to set up Parental controls for my son's account. I have an account manager, go to control panel / user accounts / parental control - click on windows expects to obtain two error message with the same message: "unable to make changes to parental controls settings. If the problem persists, see your system administrator. "I'm a sysadmin, so what's the problem?

    On a side note, I have two children on this computer. Had to remove my son because he downloaded a virus. So before the two children had parental control. But when we were going to change their times permit, he would give this error message but weather changes would take place. Now that I am setting up a new account for him, can't get parental controls to work.

    Hello

    Step 1: turn off UAC (User Account Control) and check the result

    See how can I change the behavior of user account control by using the slider? :http://windows.microsoft.com/en-US/windows7/How-do-I-change-the-behavior-of-User-Account-Control-by-using-the-slider

    Note: You must restart your computer when you enable or disable UAC. Change levels of notification does not require that you restart your computer.

    Step 2: I suggest to create a new administrator account and log later in the new administrator account, try to set parental controls and check if it works.

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Check out the link below to check if the parental control is correctly defined

    http://Windows.Microsoft.com/en-us/Windows7/set-up-parental-controls

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not vali

    I bought a physical copy of Lightroom 5, but I'm having a problem with my disc drive (iMac - vintage 2009 - running os10.7.5).  I tried to download a trial of LR5 creative cloud and using the serial number of the box, but the license key is not valid.  Is there a way I can download a copy so that my license key will work?

    A download of Cloud will not work for a licensed version.

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • 4.7 Flash builder 4.5 Flash Builder upgrade problem (key is not valid)

    Hello

    We (the company) buy Adobe products now more than 6-7 years. We bought the Flash builder 4.5 premium and premium Flash builder 4.5 for volume PHP license. Now flash builder 4.7 should be complementary upgrade for us. But when we are using the trial version of Flash builder 4.7 and addition of serial number (serial number of Flash builder 4.5), it is simply not working and showing an error "the key is not valid.

    I chat with Adobe customer care 4 different people, they find themselves saying that we transfer you volume license Department and then chat on sale. No message chat more, I checked over an hour and still no message.

    So I called, it took 15 minutes to communicate with the service the customer. I chose the option 'upgrade' from the menu of the phone and then connected with a guy. After listening full case he passed my call to the Executive of license Volume and of the Executive of license volume transferred to another guy and the other guy to some person capacit¨¦s redirect. So in total 4 guys. The last guy (specialized) called Rohit.

    Rohit guy asked me, I buy a customer support program (some product on $2.nn.00)? I said no, we purchased volume licenses for Flash builder 4.5 premium (subject to $4000.00 *). He said, sorry Sir I can't help you in this area, but I can provide you with an e-mail address and you can report your concern here. I already spent my 1.5 hour in this conversation. I said okie. He gave me a case number and told me that he will send an email stating that the e-mail address in my application I have to unplug the phone.

    I never get this email address.

    Can someone suggest me what to do next. Is my file number: 209-788-274.

    My email is: [email protected]

    Thank you

    Amitabh Arya

    @Amitabh: I understand that volume license team has reached out and helped solve the problem here, but please let me know if you have any questions outstanding.

  • Problem with the reinstallation of Windows XP Edition family, but the product key does not work

    I want to reinstall windows xp family, but why my legal product key does not work? IM using it in a computer.

    How to activate Windows XP
    http://support.Microsoft.com/kb/307890/en-us

    See the section titled: "how to activate Windows XP by phone.
    Also, make sure that you do not confuse the product key numbers and letters
    (number 8 for the letter B, etc.)

    ===================================================================

    Blank page to activate Windows in the wizard of Windows Product Activation
    http://support.Microsoft.com/kb/314935

    How to contact a Microsoft Product Activation Center:
    http://support.Microsoft.com/default.aspx/KB/950929/en=us

    Microsoft Activation centers worldwide telephone numbers:
    http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
    (This site is for activating Volume License, but if you call, they will help you)

    The phone number is not working:
    Microsoft Wordwide contacts: http://www.microsoft.com/worldwide/default.aspx

    Once Windows activated / Genuine Advantage Notifications:
    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=afd45b36-3d77-4259-801c-d31a9a90cdcf
    (This tool will confirm that the copy of Windows installed on your PC is genuine and authorized)

    J W Stuart: http://www.pagestart.com

  • A few Macbook keyboard keys do not work

    Hello

    I have the Macbook with OSX El Captian 2012 model running. The keys f, g, h, j, k, l will not work. Initially, when I hit these keys several times, they used to work, but now they do not completely work. AHT test ran and it is said that there is no hardware problem. I hit the option 5 times, but it would not have helped either. I noticed when allegedly struck ' key and hold, f - l keys work. Please help me solve this problem. Replacement of keyboard looks expensive.

    Kind regards

    Cédric

    Hey John,

    Thank you for being a part of the communities of Apple Support.

    It appears from your message that a line of F to L keys do not work correctly on your MacBook Pro. What I would like to, it's please use the keyboard on your Mac Viewer to verify that the keys are not currently recognized on your Mac:

    OS X El Capitan: use the keyboard Viewer

    If the problem persists, please reset your memory NVRAM-How to reset the NVRAM on your Mac- and report with your findings.

    See you soon.

  • Command + Option + P + R keys do not work

    Hello world

    I have a 2 models of macbook pro 2010. When I first got them I gave each a password firmware, but for some strange reason, one of them the password does not work! So I need to reset it. I read the forums where it says to remove 1 stick of RAM (fact), reset the SMC (which is), then hold down COMMAND + OPTION + P + R hown to reset the PRAM.

    Problem is to keep these keys does nothing. The macbook starts just to the top as usual. GRRR! It's infuriating! I've tried everything. I also met several other MacBook & macbook pro in the past when he had the chip of ram only 1 I tried to case.have, 2 chips of RAM, Exchange autour, new ram, and 3 other different types of RAM, still the same problem. I have 2 x 2 GB ddr3 1333 mhz in there. I tried chips to 4 gb and 8 gb chips as well. Why the these keys are not suitable? I just don't understand and it's very frustrating because it works just fine on the other macbook pro and the specification and even the model is exactly the same thing...

    I know that the keyboard is OK because the holding CONTROL + OPTION + SHIFT and the power button to do an SMC reset works very well. and Yes, I tried to connect a wired usb macintosh keyboard. These keys do not work either and I know that the keyboard is fine because it works on the imac. I find it confusing that google has no answer for that, surely someone else has had this problem?

    You can reset PRAM with Terminal too: http://osxdaily.com/2015/12/16/view-clear-nvram-mac-command-line-osx/

  • Tab and control keys do not work in Firefox (they work in other browsers) AND I went to a new keyboard.

    Tab and control keys do not work the browser Firefox (my browser is up-to-date). The buttons work in IE and Chrome, however, until I realized that, I even changed my keyboard for a brand new, hoping that would solve the problem.

    Hello arlusk, the problem is probably an extension that is not working properly. Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • Your bootable USB key could not be created

    "Your bootable USB key could not be created.

    Hey guys,.

    I Googled what to do about this error message and all I got was to ensure that the ISO is disassembled. I did, and yet I still get the same exact error message. I'm trying to get Windows 7 Home Premium on a 2012-13 inch Mac Book Pro. I also use a flashdrive 16 GB for the ISO image. Any ideas on how to solve this problem?

    Please read: create an ISO image for the Boot Camp Windows installation media.

  • page up and down and the arrow keys do not work, they do on any other programs

    Page up and down and the arrow keys do not work or jump at the bottom of page.

    You may have accidentally entered mode 'Keyboard Navigation. The F7 key will toggle "Keyboard Navigation" on or off.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • When I type in a url, the Enter key is not recognized, so the site does not load

    When I type a url or paste in one and press ENTER, the Enter key is not recognized and nothing happens. It does not load. If I use a bookmark and click on a saved url that will load automatically.
    Have uninstalled and reinstalled firefox and it has not solved the problem.

    The problem may be caused by the Ask.com toolbar (Tools > Modules > Extensions)

    The details of your system display this toolbar to the user as AskTbARS/3.11.3.15590 agent

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for

  • Satellite A100-551 recognizes only 1 GB of RAM after upgrading memory

    Hello I just bought a memory of 1 GB of RAM to upgrade my Satellite 2 * 512 to 1 * 1024 + 1 * 512.The brand of memory is Crucial. Everywhere where I put my memory (1 GB in slot 1, 512 MB in the 2 slot or vice versa), my computer don't recognize only

  • compatible video cards for 660?

    I have an inspiron 660 running windows 7 64-bit, there is the i5-3330 3.0 ghz cpu, 8 GB of ram. I'd like install a processor amd 7950 or something similar in speed, I know I need to change the power supply, What should I buy to get there? Thank you

  • BlackBerry Q5 BRIGHT FLASHING RED. MODEL 1 SINGLE FOLLOWED BY 6 FLASHES BLINK

    Hi guys. My Q5 after I security wiped, its not looking up at all. No display at all, except the city light does blink. I long pressed both keys of volume for a long time, no response. I pressed for a long time the power button no response. PLEASE HEL

  • CUE 2.3.1 and user access rights

    Is it possible to restrict user rights on the personal Web page of CUE? For example, to keep end users change 0-out option? Thank you.

  • Timestamp for voicemail blackBerry Smartphones

    Hello!  Is there a way to voice messages time stamp when they are left on the phone?  I have not found the solution in the boards or on the BB site.  My phone is a 8830 World Ed, OS 4.5.0.138, Verizon; Thanks for the help!