Posted By: igon TOracleEvent - 07/19/00 08:30 PM
Do you have a Oracle Event handler that does not spawn a separate session but would use the current open threadsafe connection. We are on low bandwidth and there is alot of overhead.
Posted By: Marco Kalter Re: TOracleEvent - 07/20/00 06:38 PM
No, but I could make an enhancement request to add a property that would allow you to use the linked Session instead of creating a new one. The restriction is that you can't use this session for anything else of course.

Note however that the second session is only created once during the Start procedure. As long as the TOracleEvent is waiting for events, the same session will be reused. When Stop is called, or when the TOracleEvent instance is freed, the second session will be logged off.

------------------
Marco Kalter
Allround Automations

[This message has been edited by mkalter (edited 20 July 2000).]
Posted By: igon Re: TOracleEvent - 07/21/00 06:35 PM
That would be excellent. When can we expect that enhancement?

Thanks.
Posted By: Marco Kalter Re: TOracleEvent - 07/25/00 10:21 PM
We can incorporate this in the final 3.4 version. We are thinking to create a KeepConnection property instead. When True, the duplicated session will stay connected between calls to Stop and Start.

------------------
Marco Kalter
Allround Automations
© Allround Automations forums