Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: notify clients on database updates
> Daniel Morgan <damorgan_at_x.washington.edu> wrote in news:1067014454.263734
> @yasure:
>
>> Triggers in Oracle are atomic just like the rest of the code. It does >> not work like SQL Server >> where they are all independent. So ignore whether the trigger fires ... >> it is irrelevant. If the >> code or procedure commits the actions of the trigger are commited. If >> they rollback they >> rollback the trigger's actions too. >>
Seems like you're looking for dbms_alert
From the documentation:
DBMS_ALERT supports asynchronous notification of database events (alerts).
By appropriate use of this package and database triggers, an application
can notify itself whenever values of interest in the database are
changed.
[...]
Alerts are transaction-based. This means that the waiting session is not alerted until the transaction signalling the alert commits. There can be any number of concurrent signalers of a given alert, and there can be any number of concurrent waiters on a given alert.
hth
Rene
-- Rene Nyffenegger http://www.adp-gmbh.chReceived on Fri Oct 24 2003 - 14:30:59 CDT
![]() |
![]() |