CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Posts
    144

    How to catching "data change events"

    Hello, everybody

    I am wondering how to catch the events of data changing(inserting,updating) of oracle db in a java program.


    Because,I need to do some kind of processing in a java program whenever inserting or updating a record in oracle .

  2. #2
    Join Date
    Aug 2007
    Posts
    179

    Re: How to catching "data change events"

    You can find that a DML statement was executed on a table by querying ALL_TAB_MODIFICATIONS. That table will give you a count of inserts, updates and deletes. You could try turning on user session logging, or you can find the DML statements by examining the redo log files. Oracle provides a means to accomplish this through logminer. Check out https://docs.oracle.com/cd/B19306_01...5/logminer.htm. All of this would be after the dml is/are committed.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured