Go to the documentation of this file.Go to the SVN repository for this file.
68 for (
int i = 0;
i < 20; ++
i) {
82 int main(
int argc,
const char* argv[])
void Push(const CRef< IConnValidator > &validator)
virtual int RunSample(void)
virtual ~CConnectPolicyApp(void)
CDB_Connection * CreateConnection(IConnValidator *validator=NULL, I_DriverContext::TConnectionMode mode=I_DriverContext::fBcpIn, bool reusable=false, const string &pool_name=kEmptyStr)
Create new connection using server, username and password specified in the application command line.
int main(int argc, const char *argv[])
#define DBLB_INSTALL_DEFAULT()
Easy-to-use macro to install the default DBAPI service mapper.
static CS_CONNECTION * conn
int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)
Main function (entry point) for the NCBI application.
static CDB_UserHandler & GetDefault(void)
virtual bool HandleIt(CDB_Exception *ex)=0
Handle the exceptions resulting from a native API call, one-by-one.