Print Thread
TOracleEvent
#703 07/19/00 08:30 PM
Joined: Mar 2000
Posts: 13
Reisterstown, MD, USA
I
igon Offline OP
Member
OP Offline
Member
I
Joined: Mar 2000
Posts: 13
Reisterstown, MD, USA
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.

Re: TOracleEvent
#704 07/20/00 06:38 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
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).]


Marco Kalter
Allround Automations
Re: TOracleEvent
#705 07/21/00 06:35 PM
Joined: Mar 2000
Posts: 13
Reisterstown, MD, USA
I
igon Offline OP
Member
OP Offline
Member
I
Joined: Mar 2000
Posts: 13
Reisterstown, MD, USA
That would be excellent. When can we expect that enhancement?

Thanks.

Re: TOracleEvent
#706 07/25/00 10:21 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
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


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.032s Queries: 14 (0.007s) Memory: 2.5050 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-04-27 10:32:01 UTC
Valid HTML 5 and Valid CSS