Error when a try to update a xmltype view thru a trigger instead of update

<PERSON>
<ID>4</ID>
<FIRSTNAME>Frédéric</FIRSTNAME>
<LASTNAME>Philippekin</LASTNAME>
<SEX>M</SEX>
<WEIGHT>75</WEIGHT>
<HEIGHT>175</HEIGHT>
</PERSON>
CREATE OR REPLACE VIEW personne_oracle OF XMLType
XMLSCHEMA "personOracle.xsd" ELEMENT "PERSON"
WITH OBJECT ID (EXTRACT(sys_nc_rowinfo$, '/PERSON/ID').getNumberVal())
AS SELECT XMLELEMENT("PERSON",
          XMLFOREST( Id,
FirstName,
LastName,
Sex,
Weight,
          Height)
) AS Valeur     
FROM Person;
CREATE OR REPLACE TRIGGER u_personne_oracle_tr
INSTEAD OF UPDATE on personne_oracle
BEGIN
UPDATE Person SET
Person.FirstName = extractvalue(:new.sys_nc_rowinfo$,'/PERSON/FIRSTNAME/text()'),
Person.LastName = extractvalue(:new.sys_nc_rowinfo$,'/PERSON/LASTNAME/text()'),
Person.Weight = extractvalue(:new.sys_nc_rowinfo$,'/PERSON/WEIGHT/text()'),
Person.Height = extractvalue(:new.sys_nc_rowinfo$,'/PERSON/HEIGHT/text()')
WHERE Person.Id = extractvalue(:new.sys_nc_rowinfo$,'/PERSON/ID');
END;
UPDATE personne_oracle x
SET value(x) = updateXML(value(x), '/PERSON/FIRSTNAME/text()','Fred')
WHERE extractValue(value(x), '/PERSON/ID') = 4;
ORA-24358: OCIBindObject not invoked for a Object type or Reference
please help me !

What happens if you move the view to the remote db?
and create a synonym for the view on the local?it doesn't work !
>
alternatively,
what happens if you modify from person@oraclelink in
the create or replace view personne_oracle?it doesn't work !
The problem is the dblink ! Without it it's work !
thx for your answer.

Similar Messages

  • TS1717 When I try and start iTunes after trying to intall the 11.4 update on my Windows 7 laptop, it says to reinstall iTunes and "Windows Error Code 193" I tried ave the same failed response. Can someone help?

    When I try and start iTunes after trying to intall the 11.4 update on my Windows 7 laptop, it says to reinstall iTunes and "Windows Error Code 193" I tried ave the same failed response. Can someone help?

    Hi inharmony35,
    If you are having issues with iTunes after an attempted update, you may want to try the steps in the following articles:
    Apple Support: Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Apple Support: Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Regards,
    - Brenden

  • I get an error when I try to update airport

    Iget an error when I try to update airport

    What do you want to do with your AirPort, and what kind is it (Extreme, Express, Time Capsule)?

  • "unknown error" when I try to update my ipad

    I get an "unknown error" when I try to update my ipad... no problem signing on at the website from a desktop, but can't update any programs or purchase any new ones in the apple store.

    Go to Settings>Store >Apple ID, tap your ID and sign out. Then reboot the iPad, Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Then go back to Settings>Store>Sign in and sign in again and see if the apps will update.

  • Why is my iphone saying "unknown error" when I try to download or update an app?

    Why is my iphone saying "unknown error" when I try to download or update an app?

    For answers, look to the right in the "More Like This" box.  You'll find your issue has already been addressed.

  • My Cosmos says network error when I try to update the software

    Can someone help me understand why my lg cosmos says network error when I try to update the software? Thank you!

    Imeans, this is kind of odd! The Cosmos, hasn't had any new updates to come out. I can look further into this for you. Which Cosmos do you have? Also, what zip code are you in? VanetrisC_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • I receive the following error when I try to install the new iTunes 11.1 update:The operation couldn't be completed. (NSURLErrorDomain error -1102.)(102)

    I receive the following error when I try to install the new iTunes 11.1 update:The operation couldn’t be completed. (NSURLErrorDomain error -1102.)(102). What does it mean? How can  I fix it?

    @varjak paw @Old Toad thank you guys, yes looks like the servers were overwhelmed today. The perfect storm - the release of iOS 7 and iTunes 11.1.- Will wait a little

  • Windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    i get a windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.

    Okay ... so it's not one of the cases of bodged up ACLs on the Apple folder in Common Files. (That's been underlying a few of the recalcitrant E7W5s.
    Just in case, let's try the fixit from the following document:
    Fix problems with programs that can't be installed or uninstalled

  • I get itunes installer error when i try to install update 10.4.1

    I have downloaded new Itunes update, but it won't install. I keep getting message to try to reinstall, but it keeps coming back with same message that the installer encountered errors during install and no changes to the configuration were made.
    Thanks for your help.

    user12957520 wrote:
    Please suggest how to solve the above issue on red hat 5.2, ebs r12:
    [root@EBSLive RPM]# rpm -ivh compat-libcap1-1.10-1.x86_64.rpm
    warning: compat-libcap1-1.10-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 652e84dc
    error: Failed dependencies:
    rpmlib(FileDigests) <= 4.6.0-1 is needed by compat-libcap1-1.10-1.x86_64
    rpmlib(PayloadIsXz) <= 5.2-1 is needed by compat-libcap1-1.10-1.x86_64Please do not create duplicate threads -- error when I try to install rpm compat-libcap1-1.10-1.x86_64.rpm,

  • Why does my imovie say error when I try to update it?

    I just bought a macbook pro, and I clicked update on the apps. The imovie app says error when I try to update it. What do I need to do to fix this?

    Please post the complete, verbatim text of any error messages you saw, and specify where you saw them: in an application window, a CrashReporter window, a log, or whatever.

  • Any one know what error -5000 is?  I get this error when I try to update to IOS 5 on my 3gs phone.

    Any one know what error -5000 is?  I get this error when I try to update to IOS 5 on my 3gs phone.

    I am also facing the same issue.
    four days back, my power buttton stopped working.
    Then my sim card slot stopped reading like it was stuck at gsm/cdma band.
    Even without simcard it said searching..
    then I changed the power button and antenna strip myself as my iphone5 is uk ee and i live in india.
    Everything was fine and I booted the phone.
    The power button worked like a new device... but the searching problem still remained.
    I hard resetted my phone but to no vail. even Find My phone was not turning off.
    then I forced my phone to recovery mode and downloaded iphone5,2 7.0.2,11A501_restore.ipsw from web and flashed it.
    At the start it recognised and everything was good until the "restoring iphone firmware" was stuck at the end point.
    I tried every trick on net. Even tried to downgrade.. but it was blocked.
    at the last it is either stuck at firmware or itunes unknown error (3)
    Please somebody help me to recover this PAPERWEIGHT to a phone again...

  • Installing my updated CS4 on a new I Mac: "legacy Java SE 6 runtime" error when i try to open psd

    Bought the original Creative Suite package 1n 2004, installed on my new apple G5.  Upgraded in 2009 to CS4 and sometime installed on a 2nd computer.  I'm sure I registered each product.  I don't have the original disk's, but I have the serial number. I'm trying to install CS on my new I Mac.  It fails authorization in the download.  I went ahead and downloaded the 30 day trail like suggested.  I get the "legacy Java SE 6 runtime" error when i try to open psd.  After my first attempt failed and I read the help lessons on deactivation, I believe I have deactivated from the G5, but I'm still getting the same code when trying to open psd.

    Download and install: Java for OS X 2014-001 
    Reboot your Mac.
    Let me know how it goes.
    Gene

  • I get a runtime error when I try to open itunes, any help?

    I get a runtime error when I try to open itunes, any help?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Error when I try to make a new project in Premiere 2014

    All of a sudden I start getting this error when I try to create and open a new project. Everytime!  Any suggestions?

    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

  • Show-stopping error when I try to load/run the muse code with JQuery version 1.9.1.

    Version 1.9.1, and the muse code uses 1.8.3.  As you can see HERE,http://jquery.com/download/ version 1.9.0 was a major milestone release for JQuery that eliminated much of the (deprecated) functionality of earlier versions. Unfortunately, the muse html uses some of that deprecated functionality (specifically, the "browser( )" function HERE)http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed. Thus I am getting a show-stopping error when I try to load/run the muse code with version 1.9.1. Other people have had this same problem (see THIS)http://bugs.jquery.com/ticket/13214.
    Do you see an update in the near future?

    Version 1.9.1, and the muse code uses 1.8.3.  As you can see HERE,http://jquery.com/download/ version 1.9.0 was a major milestone release for JQuery that eliminated much of the (deprecated) functionality of earlier versions. Unfortunately, the muse html uses some of that deprecated functionality (specifically, the "browser( )" function HERE)http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed. Thus I am getting a show-stopping error when I try to load/run the muse code with version 1.9.1. Other people have had this same problem (see THIS)http://bugs.jquery.com/ticket/13214.
    Do you see an update in the near future?

Maybe you are looking for

  • 10g Installation on OSX errors in invoking

    Hello, I ran into some serious "Error in invoking target..." errors during the installation of 10g on OSX 10.3.8, which lead to a completely useless Oracle. Have you guys had the same problems? The first one was because of a directory that didn't exi

  • Error in iMovie about Disk Space after upgrade

    I just upgraded to Mountain Lion. I created a movie in iMovie and when I tried to export it to YouTube, I got an error message about no disk space. I have over 700GB of space so I don't think that's the issue. I tried upgrading iMovie but it's asking

  • Connect to SMB Stopped on 10.8.5, but not 10.6.8

    This is freaky. I hope someone can help. We have a mix of about four 10.8.5 machines and many 10.6.8 and older machines. They all have been connecting to a Windows 2000 server without problem for a long time. This morning, all of a sudden the 10.8.5

  • Direct Upgrade from 9.2.0.3 to 11.1.2.x

    Hi there, Has somebody already tried to upgrade HFM 9.2 directly to 11.1.2.x How? Does it work? thks a lot! regards, Ludovic

  • IB isn't aware of my classes-- "Your First iPhone Application"

    I'm trying to follow the "Your First iPhone Application" tutorial. I run into trouble on this page: https://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhon e101/Articles/chapter5_section4.html The text field does not autocomp