Change Notification issue - Deletе and Update - there is no difference

Hi guys. I have an issue with change notification in ODP. There is not difference between Update and Delete, for these two actions in ODP. ODP says 'Update' in OracleNotificationEventArgs.Info for both Update event and Delete event.
I'm using ODP.NET 11g (11.1.0.6.20) with Oracle Database 10g (10.2.0.1.0), and example that provide Oracle http://www.oracle.com/technology/oramag/oracle/06-winsupp/win06odp.html
When I register same query for Database Change Notification on server side by using pl/sql, I receive correct change status in registered pl/sql callback, i.e. for delete - delete, for update - update.
Why ODP does not differ Update and Delete events?

Hello,
I've used ODP.NET (11.1.0.6.20) and Oracle Database 10g XE (10.2.0.1.0) and have been unable to reproduce the behavior you are seeing.
Are you able to post a small testcase that reproduces for you?
Regards,
Mark

Similar Messages

  • I recently changed my email address and updated my password.  However, when I connect my iPhone 4 it defaults to my old email address which is no longer valid.  How do I get my phone to recognize my updated email address?

    I recently changed my email address and updated my password.  However, when I connect my iPhone 4 it defaults to my old email address which is no longer valid.  How do I get my phone to recognize my updated email address and how do I now change the iPhone 4 to recognize the new address?  I wish to delete all reference to the old address.  All help would be appreciated.

    Hi.
    Here is a procedure that should help.
    1. Go to "Settings"
    2. Go to "Mail, Contacts, Calendars"
    3. Click the account you don't want anymore
    4. Go to the bottom and click "Delete Account"
    5. Confirm the deletion
    6. Go back to "Mail, Contacts, Calendars" (if you're not there already)
    7. Add your new account

  • I've changed my apple ID and updated my details in iTunes however I wanted to delete my old email account...will all of the apps linked to this account be deleted?

    I've changed my apple ID and updated my details in ituneshowever I want to delete my old email address...will I lose my apps linked to this email adress?

    If you updated your existing iTunes account then those apps will be linked to the updated version of your account (you may need to log out of your account on your iPad and then log back in for the account to be refresged on your iPad). If you created a new account then they will remain tied to your old account, and only that old account will be able to re-download them and download updates to its apps.

  • Oracle Change Notification issues

    Hi experts,
    I want to track all DML changes that are done with some tables. i have used oracle change notification feature for this.
    I have created setup but changes are not notified back to the caller procedure. procedure is not even called.
    version information and set up scripts are as follows:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Linux: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    CONNECT / AS SYSDBA;
    GRANT EXECUTE ON DBMS_CHANGE_NOTIFICATION TO HR;
    GRANT CHANGE NOTIFICATION TO HR;
    ALTER SYSTEM SET "JOB_QUEUE_PROCESSES"=500;
    CONNECT hr/hr;
    Rem Create a table to record notification events
    CREATE TABLE nfevents(regid number, event_type number);
    Rem create a table to record changes to registered tables
    CREATE TABLE nftablechanges(regid number, table_name varchar2(100),
    table_operation number);
    Rem create a table to record rowids of changed rows.
    CREATE TABLE nfrowchanges(regid number, table_name varchar2(100),
    row_id varchar2(30));
    Rem Create a PL/SQL callback handler to process notifications.
    CREATE OR REPLACE PROCEDURE chnf_callback(ntfnds IN SYS.CHNF$_DESC) IS
    regid NUMBER;
    tbname VARCHAR2(60);
    event_type NUMBER;
    numtables NUMBER;
    operation_type NUMBER;
    numrows NUMBER;
    row_id VARCHAR2(20);
    BEGIN
    regid := ntfnds.registration_id;
    numtables := ntfnds.numtables;
    event_type := ntfnds.event_type;
    INSERT INTO hr_test (msg) VALUES ('calling start');
    COMMIT;
    INSERT INTO nfevents VALUES(regid, event_type);
    IF (event_type = DBMS_CHANGE_NOTIFICATION.EVENT_OBJCHANGE) THEN
    FOR i IN 1..numtables LOOP
    tbname := ntfnds.table_desc_array(i).table_name;
    operation_type := ntfnds.table_desc_array(I). Opflags;
    INSERT INTO nftablechanges VALUES(regid, tbname, operation_type);
    /* Send the table name and operation_type to client side listener using UTL_HTTP */
    /* If interested in the rowids, obtain them as follows */
    IF (bitand(operation_type, DBMS_CHANGE_NOTIFICATION.ALL_ROWS) = 0) THEN
    numrows := ntfnds.table_desc_array(i).numrows;
    ELSE
    numrows :=0; /* ROWID INFO NOT AVAILABLE */
    END IF;
    /* The body of the loop is not executed when numrows is ZERO */
    FOR j IN 1..numrows LOOP
    Row_id := ntfnds.table_desc_array(i).row_desc_array(j).row_id;
    INSERT INTO nfrowchanges VALUES(regid, tbname, Row_id);
    /* optionally Send out row_ids to client side listener using UTL_HTTP; */
    END LOOP;
    END LOOP;
    END IF;
    COMMIT;
    END;
    Rem Create a REGISTRATION on the EMPLOYEES TABLE
    DECLARE
    REGDS SYS.CHNF$_REG_INFO;
    regid NUMBER;
    mgr_id NUMBER;
    dept_id NUMBER;
    qosflags NUMBER;
    BEGIN
    qosflags := DBMS_CHANGE_NOTIFICATION.QOS_RELIABLE +
    DBMS_CHANGE_NOTIFICATION.QOS_ROWIDS;
    REGDS := SYS.CHNF$_REG_INFO ('chnf_callback', qosflags, 0,0,0);
    regid := DBMS_CHANGE_NOTIFICATION.NEW_REG_START (REGDS);
    SELECT manager_id INTO mgr_id FROM EMPLOYEES WHERE employee_id = 200;
    DBMS_CHANGE_NOTIFICATION.REG_END;
    END;
    UPDATE employees SET salary=salary*1.05 WHERE employee_id=203;
    COMMIT;
    SQL> SELECT * FROM nfevents;
    No Rows Returned
    SQL> SELECT * FROM nftablechanges;
    No Rows Returned
    SQL> select * from nfrowchanges;
    No Rows Returned
    SQL> select * from hr_test;
    No Rows Returned
    Please check the scripts and let me know if change is required.
    Regards,

    This does not look like reinventing the wheel. The code is on first sight a copy of the exemple in the developer's guide - fundamentals (10g2). Too bad nobody answered this question. The problem is in the line CREATE OR REPLACE PROCEDURE chnf_callback(ntfnds IN SYS.CHNF$_DESC) IS ..., when you look at the trace, it says "PLS-00306: wrong number or types of arguments in call to <procedure>".
    The type of the parameter to the procedure is however a gift from Oracle and I do not know how to change it or what is wrong with it. So, either the predefined type or the notification routine has an error, and I wonder if there is a patch for this on Metalink, but I have no access. If anybody has more information or can help me, I would be very happy.
    I am using XE on Windows xpsp3.
    Onno

  • Change goods Issue date and delivery date

    while crating Sales document through VA01
    i want  to replace goods issue date (VBEP-WADAT ) with my Z calender date.
    so that delivery date(ETDAT) aslo should chaged automatically ( bcz iof the change in goods isuue date ).
    how to achive this ?
    i tryied in  Program    program of MV45AFZZ/ MV45AFZB in the User Exists mentioned below:
    1.     Form Userexit_Check_VBEP
    2.     Form userexit_move_field_to_vbep
    i was able to change goods issue date (VBEP-WADAT )  but  not refleting in output screen,..
    regards,
    ramesh

    Hi Venkat,
      Even it did not update in my user exit when I update from VBEP-WADAT.  So, I did back calculation (considering route lead time) and updated Delivery date field VBEP-EDATU.  It is simple.  I have given the sample code as below.
       if lines( xvbap[] ) = 1 and VBEP-ETENR = '0001' and            "Calculate RDD while the first line item entered
         vbap-route <> space and <<your GI date>> is not initial.    "Only when header RSD is filled
          select single TRAZTD into ws_traztd from tvro
                where route = vbap-route.
          ws_days = ws_traztd / 24 / 10000.
          if ws_days <> 0.    "Only when Transp. Lead time is maintained ( So, will not affect other entities )
             select single FABKL into ws_fabkl from T001W
                where WERKS = vbap-werks.
             CALL FUNCTION 'WDKAL_DATE_ADD_FKDAYS'       "Calculate as per Factory calender
                 EXPORTING
                   i_date        = <<your GI date>>
                   i_fkday       = ws_days
                   i_fabkl       = ws_fabkl
                 IMPORTING
                   E_DATE        = ws_date
                  E_FKDAY       =
                 EXCEPTIONS
                    ERROR         = 1
                    OTHERS        = 2
             IF sy-subrc = 0.
                VBEP-EDATU = vbak-vdatu.   "copy to the first line item
             ENDIF.
          endif.
        endif.    "Route days

  • How to change value of element and update XML file

    Hi
    I have an xml file called test.xml like below
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
         <userName/>
         <viewName/>
    </printing>I want to change value of user name and view name and update test.xml file in my folder
    Anyone has sample code to do so
    Ashish

    Thanx
    i was able to do so, but what i want now is to remove element
    for example
    i have following xml
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
              <firstLineText />
              <firstLineText>|line11</firstLineText>
              <firstLineText>|line12</firstLineText>
    </firstLineTexts>
    </printing>how do i remove all elements fireLineText
    my final output should be
    <?xml version="1.0" encoding="UTF-8"?>
    <printing>
    <firstLineTexts>
    </firstLineTexts>
    </printing>How do i do it using DOM,
    I can create instance of DOM and write it using TransformerFactory
    Ashish

  • Phone stuck in recovery mode complete black screen will not turn on after recovery and update there was an error and now computer and itunes will not recognize the phone....Anyone know what I can do to get the phone recognized again when it cant be turned

    Phone was not updated on time so it automatically shuts off and you get a plain black screen until it is recovered and updated. Well when i did the update and recovery I received an error. I went through the steps to fix the error, I had to restart my computer and now the phone isnt recognized on my computer or in itunes. The screen is still completely black so pushing the home button and plugging in to computer still does nothing. Device manager shows nothing in usb port, and apple mobile device software is installed and running. Any help?

    Hello agardner37701,
    I found some steps you can take when your iPhone is not recognized by iTunes when in Recovery Mode.  I recommend reviewing the steps in the section titled "If the device is not recognized while in Recovery Mode" under step 5 in the following article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Has anyone else had email notification issues after ICS update?

    After the ICS update, I am not longer getting any email notifications.  I only get notifications after I open the stock mail app and it loads the emails.  I have unistalled/reinstalled numerous times without any change.  I have looked through the new ICS settings to see if switch got changed, without any luck.  Has anyone else run into this issue?  Thank you in advance

    I think if you delete data and cache from the email app, then re-add your email address, it should help.

  • HT1918 I have changed my billing information and updated credit card info as it had expired but using same credit card only had to update the expiration and it still says its not the same that is on the account and i updated the account , still cant buy a

    I have tried to update my billing and account information which I was able to but in the billing section it keeps saying that the info doesnt match the bank info and the only thing was that the credit card had expired and I am still using the same one but cant buy a song, keeps saying its not correct.

    Ok, so I finally got help on this issue.  Basically, I had tried to edit my credit card information, and it secretly locked my account.  After finally getting a hold of a representative through the chat service on the support site, I was able to get this fixed.  I had been previously helped by someone through e-mail, but that was a complete waste of time.  Go for the chat service, it's a million times better.  They were able to release the secret block on my account...from trying to change my own information so that I could change it and be on my way.  Anyway, I hope this helps.

  • Changed my apple id and updated to iOS 6 and now I can't get to log into FaceTime . Every time I try it says my username or password is incorrect

    Changed my apple id but FaceTime didn't recognize this and when I updated to iOS 6 I can no longer get on to FaceTime. When I try, it says that the username or password is incorrect. Can anyone help

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • Can a button change to another state and remain there, and also go to a URL?

    Hi --
    I've been wracking my brain and scouring the internet since yesterday to find a solution to this...It seems easy enough, but I'm at a loss...maybe I'm over thinking it and it's simply not possible?
    We have a button that we want to, when clicked, change to another state, remain there, and also use a navto to go to another page within the publication...is this possible?
    We've tried doubling up the actions of the button, using fake buttons, etc. all without success. What we have it at now is...you can tap to navto, and the button does change, but it reverts back to it's previous state in that moment between releasing the button and actually jumping to the page we want it to go to.
    The only explanation I've come up with is based on the information on this page: http://help.adobe.com/en_US/digitalpubsuite/using/WS67cb9e293e2f1f60-8ad81e812b10bfd837-80 00.html -- that because the two actions I want to accomplish fall into the two different categories: Supported actions for hyperlink buttons and Supported actions for slideshow buttons, that this simply isn't possible?
    Your help is greatly appreciated!
    Thanks,
    Kristina

    No, that's not supported with multiple actions. You can't switch a state and then jump to another document.

  • HT204017 Issues downloading and updating since the update of Yosemite v10.10

    Hello I'm hoping someone can help me since downloading the new OS update i haven't been able to update or download through the app store. i can however download through my browser but not the app store. i first noticed when an update came up for iPhoto. I pressed to update then it sat at zero kb and stopped me using the app altogether. i tried deleting the app and redownloading but still nothing. i tried other apps from the app store and still no joy. they just sit at zero kb and do nothing. Someone please help! I contacted online support and they told me to call AppleCare Technical Support Team who was supposed to be open 24/7 and when i called the offices was shut?!?

    Hi,
    Just want to share what has worked for me. First of all get a hard drive and do a back up of your computer to save photos documents etc just in case! use the app time machine to do this... you may need to format the hard drive like i did (mine was fat32) so that you can use it for the back up. Then go to disk utility click on macintosh then click on repair disk permissions. once done eject from your computer the hard drive then re insert. Restart your computer and upon starting hold command and R. Then click on reinstall OS (you will need internet for this) follow the prompts etc (very simple)... it will download and reinstall the OS. Once done log in to your computer and test out your issues.
    Mine actually failed the first time reinstalling the OS, which when restarted wouldn't do a thing because the OS was gone :O so i restarted the computer held command and R and did the same steps again to have success. Now everything is back to normal and i have stopped cursing apple and back to loving!
    Hope this helps for anyone who reads it. Advisable to do the back up first just in case.

  • How to track the changes to a table and update the other table ?

    Hi Guys,
                   I am looking to track deletion of entries on KONV table and sync these missing entries in an other table which has primary key entries of KONV.
    How to do this.. is ALE change pointer is any good for this purpose ?
    Thanks
    AJ

    Hi Sam,
      In order to track the changes in the KONV table, go to table CDHDR and give objectclass and objectid, you will get all the details.
    Regards,
    ramesh.

  • MBPR wifi issues after latest update to 10.9.2

    Hi all,
    After the latest update to 10.9.2 my Macbook Pro Retina (1st gen) seems to be having issues re-connecting to wi-fi after I wake it up from sleep. Although I've read stories about wifi-issues with the retina line in general, I've been lucky enough to have mine run pretty smoothly so far. That is until the latest update ... for some reason, this happens EVERY time i close and open my laptop.
    And yes, it's a easy fix. Usually all i need to do is to turn off wifi and turn it on. But it's getting slightly annoying having to do that every time.
    Has anyone else had this issue? and are there by any chances a solution for this problem?
    Appreciate the help!
    All the best
    Farid

    Hello thegreatbeard,
    Thank you for the details of the issue you are experiencing with Wi-Fi on your MacBook Pro.  I would be concerned about this too.
    I recommend following the steps in the section labeled, "Symptom: The network connection drops unexpectedly" in the article below to resolve an issue like the one you described:
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Thank you for posting in the Apple Support Community.
    Best,
    Sheila M.

  • I recently changed my email address and switched it to my primary address on my Apple ID account.  It works in iTunes, but when I open up iCloud, my old ID shows and I can't access it to change anything.  Can't ask for email change for password

    I recently changed my email address and updated my Apple ID name to the new address.  It worked for iTunes and apps, but when I bring up iCloud, my old ID name shows.  I can'tr access it to change it since my security questions don't work and when I request an email to change password, it says it sent one but I do not receive anything.  Just need to klnow how to change my Applle ID on iCloud if I can't access the old one.  I'm afraid if I delete the account and open a new one, I'll lose all of my calendar. 

    If you have 'Find My iPad' activated on the iPad it will cause this problem. You will have to contact Support for help. Go to https://expresslane.apple.com ; select 'More Products and Services', then 'Apple ID'. In the next page select 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password' and click 'Continue'.

Maybe you are looking for

  • View *all* databases in oracle 8i

    Hello all, Is there a statement/command which i can type to view ALL the databases in the oracle8i database. I am having a certain problem with an application which is using the database, only i am not aware which database it is using!! I do have dba

  • Local Currency different with Clearing Currency

    Hi! We are having a problem with an A/R account. I was trying to clear the customer balance. At first i was looking at the Customer line item of the client and it showed their a credit of Php 8.217 Million which i could allocate/use to clear a debit

  • Passwort-Limitation in InDesign Folio Builder

    Hi, I have created a DPS user that has a 13 Digit password (was is allowed to create when setting up the account). I have already created a Viewer-App and submittet it to the iTunes store that uses that account. The Viewer-App is already in Review an

  • Advice on how to design this style of icons

    I am very new to AI and want to develop some icons for Android OS (Please see the image below as an example of what I am referring to). It seems they all have a similar style -- simple, clean, drop shadows around the icon, and linear gradients. 1. Ar

  • HDCP error on Samsung LE32R72B

    Hi , I've read about the HDCP error on this community. I have the same problem... Now, when I plug my digibox on my Samsung LE 32R72B, I have almost the same problem ! There is no signal... So I was wondering if it is maybe my HDMI cable, or my TV ?