I've create a simple proc to test TOracleEvent:
DECLARE
x NUMBER;
BEGIN
x := 1;
WHILE x < 100
LOOP
dbms_alert.signal('test', x);
COMMIT;
x := x + 1;
END LOOP;
END;
In the Delphi App the onEvent handler looks like this:
Memo1.Lines.add(Info[0]);
When I run the proc, I only get a few messages delivered? I've tried both synchronized and not. If you are subscribed to an event is message delivery garaunteed? Can you please explain this behaviour? I'm using oracle 7.x
Thanks
DECLARE
x NUMBER;
BEGIN
x := 1;
WHILE x < 100
LOOP
dbms_alert.signal('test', x);
COMMIT;
x := x + 1;
END LOOP;
END;
In the Delphi App the onEvent handler looks like this:
Memo1.Lines.add(Info[0]);
When I run the proc, I only get a few messages delivered? I've tried both synchronized and not. If you are subscribed to an event is message delivery garaunteed? Can you please explain this behaviour? I'm using oracle 7.x
Thanks