dbTalk Databases Forums  

Timeout on SQL calls when using the Oracle Provider for OLEDB

comp.database.oracle comp.database.oracle


Discuss Timeout on SQL calls when using the Oracle Provider for OLEDB in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tzanko
 
Posts: n/a

Default Timeout on SQL calls when using the Oracle Provider for OLEDB - 06-02-2004 , 08:50 AM






Hi,
We are using ADO with the Otacle Provider for OLEDB in our COM+ MTS
C++ client (Oracle 8.1.
It seems there is no way to timeout our ORACLE SQL calls, in case the
database is verry slow for what-ever reason. Our calls just wait for
the SQL to complete and we do not seem to have any control over the
time it takes. The normal way to achive this in ADO is by setting the
ConnectionTimeout and CommandTimeout properties of the ADO's
connection and command objects. However, we understand this is not
supported by the Oracle Provider for OLEDB, so it's not an option.

Can anyone suggest a workaround. It seems like a major issue to me.

One option I can think of is using the MTS transaction timeout
setting, but firstly this does not seem to work well with Oracle
either, and also, we do not want to run all SQL calls in a
transaction, as there is an overhead attached to this, when
transaction is not needed otherwise.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.