ODBC and JDBC Driver Socket SEND/RECV TimeoutA send/receive timeout option has been added such that a c-treeACE SQL ODBC or JDBC client can request a timeout for a socket. If the client experiences a lengthy wait for the server to reply, the client can continue to work after closing the connection. A c-treeACE SQL ODBC driver can set the timeout with a call to the SQLSetConnectAttr() ODBC API function and the SQL_ATTR_CONNECTION_TIMEOUT parameter with the time value in seconds. With the c-treeACE SQL JDBC Driver, it is possible at connection time to set a timeout value in milliseconds using the DriverManager.getConnection(string, properties) method. |
|||