Problem with insert or update when object has a forigne key

Greetings
I am using toplink and something wierd is going on. On one of our servers we have a table "t" that has a foreign key. We are seeing errors when we work on "t" that seem to be toplink trying to "re-insert" the record in the FK. My explanation may be lacking, I am sorry for that, but I would be greatful for any help I could get. A stack trace follows:
Caused by: javax.faces.el.EvaluationException: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-00001: unique constraint (ACCESS_D.UEA_PROVIDERS_PK) violated
Error Code: 1
Call:INSERT INTO UEA_PROVIDERS (PROVIDER_ID, NAME, CONVERSION_STRING, AVAILABLE_TO_PUBLIC) VALUES (16.0, 'US Cellular', '[email protected]', 'Y')
Query:InsertObjectQuery(eac.model.UeaProviders@1c37b26)
     at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
     ... 23 more
I am not inserting any records into UEA_PROVIDERS but still toplink seems to be trying to. Is there something I can do to stop this behavior. It only appears on this one server and it seems to go across applications..
thanks
troy

This is most likely an issue with your UnitOfWork usage. How are you registering the objects in the TopLink UnitOfWork and updating them? Are you using the mergeClone() API?
Ensure that you are first reading the objects your are modifying through the UnitOfWork, and modifying the UnitOfWork clones.
If you are using the mergeClone API, ensure your descriptor's does-exist policy is correct. You may need to use the does-exist option check-database if the related objects to the object being merged have not been read into the session's cache.

Similar Messages

  • I'm having problem with my iphone4S first when i updated software to 7.1 after a month or so wifi turned grayed, second when i tried to turn off in the night as soon as i turn it on battery empty now its totaly dead. What should i do with it?

    I'm having problem with my iphone4S first when i updated software to 7.1 after a month or so wifi turned grayed, second when i tried to turn off in the night as soon as i turn it on battery empty now its totaly dead. What should i do with it?

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • When I turn my computer on I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. I think this has something to do with Apple "push". I had a problem with this in iTunes when I tried to sync my iPod Touc

    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. The change has something to do with Apple "push". I recently had a problem with"push" on iTunes when I tried to sync my iPod Touch. I have latest software for iTunes and iPod. Can anyone tell me what to do to get this change to install?

    ptford wrote:
    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware
    Since hardware cannot be changed with software, perhaps you would be so kind as to post the exact wording of the message?

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

  • HT1933 I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 i

    I am facing problems with mails after update iPhone 4S/io7. I have configured yahoo mail in iPhone 4S. When I click on refresh, it shows new mail downloaded but when I go inside inbox the new mail don't show up. Can anyone help me with this iOS 7 issue ?

    Hi were you able to resolve yours?
    I was very worried losing all my medical stuff on my iPad Air 2, plus i have nothing to use for the next day! So i have to try all the possible things i read on the internet!! And this worked on my part (Thank God, and thank you Google)
    Perform a hard reboot
    Hold down the Home button and Power button on your iPhone or iPad and keep holding them until you see the Apple logo. Once you do, you can let go. When your device boots back up, go ahead and check to see if the apps have started re-downloading. If they still appear to be stuck, continue on.

  • Problems with the windows update site in 32-bit Vista Business

    Hi Everyone,
    I am experiencing problems with the windows update site. As far as I know it shold make a link to the Windows Update module on-board and show the available updates after scanning. However, I get to the page that says "Checking if your computer has the latest version of Windows updating software for use with this website" and the next page I get is "The website has encountered a problem and cannot display the page you are trying to view". The error number is 0x80070002. I go to the knowledge base and delete the content of the Data Store folder as advised, but to no use at all. Active X controls are enabled Java is working fine. I've cleaned the register and everything, did a complete scan with Onecare as advised by Microsoft, which did not find anything but again the same error message. I am using KIS 2009 and I am sure I have no viruses or any other malware. I even tried to go to the update site with the KIS switched off but to no avail too. On the other hand I don't have problems with the automtic updates and when I run a manual update from the Update module everything is OK. Do you have any suggestion as to what might be the issue with the website updates?
    P.S. I am using 32-bit Windows Vista Business on a Lenovo W500.

    hello
    You may be having a problem with the windows update agent.Since its a problem relating to windows update microsoft support personnel may help you out.follow this link and contact them by chat or email
    http://support.microsoft.com/common/international.aspx?gprid=6527&acty=Start&ctl=Region&wf=Workflow&... 
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • Problem with iOS 5 update

    Hi everyone!
    Has someone of you have a problem with iOS 5 update? My iPhone after updating to the newest version, from time to time appears "There's no SIM card" . I don't know if there's a problem with MY iPhone or update "error"? Thanks in advance for your response.
    Best regards,
    glaenken

    Did you try to reset the phone by holding the sleep and home button until the Apple logo comes back again?
    Also try this, copied from http://support.apple.com/kb/TS2802
    "No SIM installed" alert (GSM models only)
    Remove the SIM card (micro-SIM on iPhone 4). Insert the SIM eject tool or the end of a small paper clip into the hole on the SIM tray. Press firmly and push it straight in until the tray pops out. See this document for more information.
    Verify the SIM card is not damaged or dirty.
    Reinstall the SIM card.
    Turn the phone off and back on.
    Wait approximately two minutes, then see if iPhone detects the SIM card and if it will register on the network.
    If that doesn't work, try another SIM card, if possible, to see if it is detected.

  • Ive got this problem with itouch 4th gen when im trying to upgrade my ios to ios 6.1.3 when it is verifying it suddenly shutdown and it keeos on blinking with the logo and i cannot open it...what is the main cause of thst..tnx

    ive got this problem with itouch 4th gen when im trying to upgrade my ios to ios 6.1.3 when it is verifying it suddenly shutdown and it keeos on blinking with the logo and i cannot open it...what is the main cause of thst..tnx

    - Reboot the computer
    - Try DFU mode and then restore/update
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Delete the update file so that new one has to be download.
    IPSW file location for Mac and Windows
    - Try on another computer to help determine if you have an iPod or computer problem.

  • Any problems with compatibility of update iTunes with OSX 10.7.5

    Has anyone noticed any problems with compatibility of updated iTunes with OSX 10.7.5?

    Okay. At the beginning of this discussion I was on 6.0.1. However, I responded to an update since then and since I didn't realize 6.0.2 wasn't compatible with Lion I responded and updated.
    Now, with your message, a clean 6.0.1 installation sounds like a great idea. However, I've downloaded it from your link and when I install just from the install program, I still have an "About Safari" showing 6.0.2. I then tried setting up a separate Safari folder in the Applications folder and installed into that. I only got some Safari-associated folders and items there but no new Safari app icon... and the Safari 6.0.2 icon (which I hadn't gotten rid of since I don't want to lose my bookmarks, etc... want to transfer those once the 6.0.1 is there) is still there.
    All the hanging-up problems are still happening, btw... and probably even worse. Right now I'm using Camino, a good browser but Safari has features I'd like to get back to... got Firefox, too, and like it, but I've got it set up for other family members to use and Safari here for me.
    Any help on how to get 6.0.1 installed again without losing bookmarks greatly appreciated.

  • Problems with software the update with Nokia 6233

    Problems with software the update with Nokia 6233
    Hello,
    I have so far some-paints tries my software to update.
    Each time the update procedure begins, sometime stands then on the telephone “test mode”.
    On the computer wars I the reference in the update manager “connection to the telephone broken off” and wants the update to again start.
    If I change my profile attitudes since that for example, then after a telephone restart again deleted.
    What there can I make?
    GreetingsMessage Edited by adisaily on 24-Aug-2007 09:03 AM

    It sounds like your 5800 has the earpiece fault that was common with 5800's made before February.
    You need to take it to a nokia care point for repair under warranty.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab.  Everything else seems to work okay in itunes.  I have uninstalled it and reloaded it 4 or 5 times, but still freezes up.

    I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab which shows the apps that are loaded on my phone.  Everything else in the itunes software seems to be working okay.  The problem is in the part where you sync the newly purchased apps.  The apps will all be blank that are downloaded and that part of the software crashes itunes or freezes up.  I can get out of itunes okay after the freeze up, but it just stops me from syncing anything that I have newly added.  If anyone has had this problem before or knows someone that has, please let me know how I can fix it.  I have uninstalled and reloaded itunes 4 or 5 times, but the problem is still there.  I might add that I have been using itunes and purchasing apps for 2 to 3 years without any problems.  HELP.

    You would get better response from the iTunes community forum.
    Have a nice day!

  • HT1589 problems with itunes after updating..can't locate some of my songs..some have an exclamation point beside them how do i get these songs back in my itunes

    I'm having problems with itunes after updating. I've lost all my playlists,,finally played around with it and got the songs back but some have an exclamation point beside them and can't be located. they are songs i've purchased. I'm not very computer literate so this is a major problem. I have spent hours with this. I just want all my songs to play even though I'm not happy that I have to recreate my playlists. It would be so much easier if I knew and understood how to correct this. Has anyone else had this problem and if so..is there an easy way to correct it?

    Not sure how this is an ipod touch question.
    Perhaps you should post in the itunes forum.

  • Problem with create universe on Business Objects XI 3.1 base on SAP Query

    Hello,
    I have a problem with create universe on Business Objects XI 3.1 base on SAP Query.
    The problem is hierarchy. Massage on Busines Objects is :
       OWBS_ELEMT__ISTKOSZT(cube ICPC01/BEX_ICOC01):Exception condition  "HIERARCHY NOT FOUND" raised.(WIS 10901) 
    Query in BEX run OK.
    Best regards.
    Ela.

    Hello,
    Thanks for response.
    When I run BEX QUERY, all works OK.
    All hierarchies was created and activated  on system BW.
    This situation appears after upgrade BW to SAP NetWeaver 7.3.
    Before upgrade I created universe without any problems.
    Regards Ela

  • I am having problem with lighroom cc brushe when i have GPU TURN ON WHEN OFF I HAVE NO PROBLE,CAN ANYONE HELP?

    IS ANY ONE HAVING PROBLEM WITH LIGHTROOM CC BRUSH WHEN THE GPU IS TURN ON

    F. McLion wrote:
    Update your graphic card driver to the latest version.
    btw.: Rule number 2 - Do not use all caps - Netiquette Wiki
    And for a very practical reason from your point of view: using all caps looks like SHOUTING, and people will concentrate more on the SHOUTING than on answering your question.  Some will just ignore you for this reason.
    If updated drivers don't fix the problem, perhaps you can tell us what is the "PROBLEM WITH LIGHTROOM CC BRUSH WHEN THE GPU IS TURN ON" that you are having. 

Maybe you are looking for