Analysis Software
Documentation for sPHENIX simulation software
|
#include <TError.h>
#include <TString.h>
#include <RDBC/TSQLDriverManager.h>
#include <RDBC/TSQLConnection.h>
#include <RDBC/TSQLDatabaseMetaData.h>
#include <RDBC/TSQLResultSet.h>
#include <RDBC/TSQLResultSetMetaData.h>
#include <RDBC/TSQLPreparedStatement.h>
#include <RDBC/TSQLCallableStatement.h>
#include <RDBC/TSQLTypes.h>
Go to the source code of this file.
Functions | |
Int_t | RDBCfirst (const Text_t *dsn, const Text_t *usr="scott", const Text_t *pwd="tiger") |
void | Catch (TSQLException *e) |
void Catch | ( | TSQLException * | e | ) |
Definition at line 146 of file RDBCfirst.C.
View newest version in sPHENIX GitHub at line 146 of file RDBCfirst.C
References TSQLException::GetMessage(), printf(), and str.
Int_t RDBCfirst | ( | const Text_t * | dsn, |
const Text_t * | usr = "scott" , |
||
const Text_t * | pwd = "tiger" |
||
) |
Definition at line 103 of file RDBCfirst.C.
View newest version in sPHENIX GitHub at line 103 of file RDBCfirst.C
References TSQLConnection::Close(), TSQLConnection::CreateStatement(), TSQLStatement::Execute(), TSQLDriverManager::GetConnection(), TSQLResultSet::GetInt(), TSQLResultSet::GetLong(), TSQLStatement::GetResultSet(), TSQLResultSet::GetString(), TSQLResultSet::Next(), printf(), and TSQL::SetHandler().