I have a table containing information about events. New entries will be added to this table by another process continuously. The table has an Event-end-time column.
I need to create a mechanism to call the java method to process events when the event reaches the end time. Some of the options I have:
- Continuously query the database (every 1 min.) And find the next last report to be processed and call it when the end time is reached.
- Find out if there is any built-in mechanism in the ORACLE database to send a notification / Oracle itslef java application calling the java method when the event reaches the end time.
I saw notification options if the record is inserted / updated / deleted (based on triggers), but so far I have not been lucky if the notification condition has been changed (if the time indicated in the record column has been reached).
Any advice on this would be greatly appreciated.
Regards, Deepak
source
share