Page 1 of 1

OraSession->Options->ConnectionTimeout

Posted: Tue 10 Jul 2007 20:02
by benkedon
I'm using your latest VCL ODAC 6.10 components for Borland C++ Builder 5. I have 'OraSession->Options->Direct' set to true and the 'OraSession->Options->ConnectionTimeout' set to 30 (secs). I have the 'OraSession->ConnectString' set appropriately for direct mode, i.e. as 'user/password@hostserver:port:sid'. However, when I try to set 'OraSession->Connected' to true, it almost immediately, i.e. as opposed to trying for 30 seconds, comes back with an "ORA-00001: NET: Connection timed out" error. What am I doing wrong ?

Posted: Wed 11 Jul 2007 13:01
by Plash
ConnectionTimeout is measured in milliseconds, so the corect value is 30000.