#include <drivermanager.h>
| static 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" |
| static int odbc::DriverManager::getLoginTimeout | ( | ) | [static] |
Gets the current login timeout in seconds.
| static 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. |