#include <odbc++/drivermanager.h>
Connection * odbc::DriverManager::getConnection (const std::string & connectString) [static]
|
Opens a connection using an ODBC connect string.
connectString |
Usually something like "DSN=db;uid=user;pwd=password" |
int odbc::DriverManager::getLoginTimeout () [static]
|
Gets the current login timeout in seconds.
void odbc::DriverManager::setLoginTimeout (int seconds) [static]
|
Sets the login timeout in seconds.
seconds | The number of seconds to wait for a connection to open. Set to 0 to disable. |