If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > MS ODBC Oracle Timeout on statements.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-17-03, 19:53
vijayrajan vijayrajan is offline
Registered User
 
Join Date: Jun 2003
Location: Fremont
Posts: 2
MS ODBC Oracle Timeout on statements.

Hi

I have been tryying hard to set the timeout attribute for an ODBC statement handle. SQL_ATTR_CONNECTION_TIMEOUT. I have tried this test with both Oracle 90 ODBC and Microsofts ODBC for Oracle.

I run a simple experiment after successfully setting the statement handle. I lock the target table using
lock table target in exclusive mode;


Then I run my application, which implements my Timeout. This application is trying to update target. Now my query should hang only as
the timeout value assigned using SQLSetStmtAttr.

However this never happens and my application hangs indefinitely.

I had to provide a dirty work around for this.

Does anyone have any experiences to share??

Thanks
Vijay
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On