Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RDBCfirst.C File Reference
#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>
+ Include dependency graph for RDBCfirst.C:

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)
 

Function Documentation

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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function: