Print Thread
Which property can I use to determine if an operation is running on TOracleSession
#64319 11/11/22 07:27 AM
Joined: Aug 2013
Posts: 32
A
akaya Offline OP
Member
OP Offline
Member
A
Joined: Aug 2013
Posts: 32
We have a single TOracleSession used by main VCL thread and background threads.

I would like to check if a background thread is executing some operation on TOracleSession. I read the manual and cannot see a property for this purpose.

Which property can I use to determine if TOracleSession is currently executing some database operation?

Thank you.

Re: Which property can I use to determine if an operation is running on TOracleSession
akaya #64322 11/11/22 10:19 AM
Joined: Aug 1999
Posts: 22,192
Member
Offline
Member
Joined: Aug 1999
Posts: 22,192
There is indeed no property for this. You would need to implement this within the background thread.


Marco Kalter
Allround Automations
Re: Which property can I use to determine if an operation is running on TOracleSession
akaya #64329 11/14/22 01:54 PM
Joined: Aug 2013
Posts: 32
A
akaya Offline OP
Member
OP Offline
Member
A
Joined: Aug 2013
Posts: 32
Please consider adding a property for future DOA releases.

Thank you.

Re: Which property can I use to determine if an operation is running on TOracleSession
akaya #64330 11/15/22 09:41 AM
Joined: Aug 1999
Posts: 22,192
Member
Offline
Member
Joined: Aug 1999
Posts: 22,192
I have added this to the list of enhancement requests.


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.111s Queries: 14 (0.047s) Memory: 2.5037 MB (Peak: 3.0377 MB) Data Comp: Off Server Time: 2024-04-16 06:06:32 UTC
Valid HTML 5 and Valid CSS