#include <RDBC/blob/master/include/RDBC/odbc++/drivermanager.h>
The DriverManager.
Definition at line 99 of file drivermanager.h.
View newest version in sPHENIX GitHub at line 99 of file drivermanager.h
odbc::DriverManager::DriverManager |
( |
| ) |
|
|
private |
static void odbc::DriverManager::_checkInit |
( |
| ) |
|
|
staticprivate |
static Connection* odbc::DriverManager::_createConnection |
( |
| ) |
|
|
staticprivate |
Opens a connection by it's DSN, a username and a password
Referenced by OnlMonClient::CacheRunDB(), OnlMonServer::CacheRunDB(), ClassImpQ(), OnlMonStatusDB::GetConnection(), PktSizeDBodbc::GetConnection(), FROG::GetConnection(), OnlMonDBodbc::GetConnection(), RunToTimePg::GetConnection(), OnCalDBodbc::GetLastCalibratedRun(), RunDBodbc::GetRunNumbers(), ODBCConnection::ODBCConnection(), and RunDBodbc::RunType().
Opens a connection using an ODBC connect string.
- Parameters
-
connectString | Usually something like "DSN=db;uid=user;pwd=password" |
static DriverList* odbc::DriverManager::getDrivers |
( |
| ) |
|
|
static |
static int odbc::DriverManager::getLoginTimeout |
( |
| ) |
|
|
static |
static void odbc::DriverManager::setLoginTimeout |
( |
int |
seconds | ) |
|
|
static |
Sets the login timeout in seconds
- Parameters
-
seconds | The number of seconds to wait for a connection to open. Set to 0 to disable. |
Referenced by ODBCConnection::SetLoginTimeout().
static void odbc::DriverManager::shutdown |
( |
| ) |
|
|
static |
Should be called before an application is to exit and after all connections have been closed.
Referenced by ODBCConnection::Shutdown().
SQLHENV odbc::DriverManager::henv_ |
|
staticprivate |
int odbc::DriverManager::loginTimeout_ |
|
staticprivate |
The documentation for this class was generated from the following file: