-
January 8th, 2016, 09:42 AM
#1
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 .
-
May 6th, 2016, 02:37 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|