Subject Re: Asynchronous Signaling
Author vandy899
--- In, "Adam" <s3057043@y...> wrote:
> There is already a similar function in Delphi in IBX (IBEvents) that
> listens for events, which means it is probably already part of the
> API, so don't reinvent the wheel.
> My first warning would be that your callback function will not see
> your data until after you commit the first transaction. I don't know
> whether an event is fired immediately, or after you commit, so you
> will need to look that up.
> --- In, "jhliang90us"
> <jhliang90us@y...> wrote:
> >
> >
> > I am trying to use FireBird asynchronous signaling/asynchronous
> > listening service. I will write a trigger or stored procedure that
> > posts an event whenever any application inserts data in a table.
> > Then I will write a Java client application listening for this
> event
> > and execute some AST callback function. I do not know how to start
> > yet. If you have any kind of samples or instructions, please
> > respond. Appreciate your help very much.

I'm using them with python; They are definitely only fired after a
commit; if you rollback the transaction, the event is never fired.