16,548
社区成员




IBPP::Database db1;
db1 = IBPP::DatabaseFactory(ServerName, DbName, UserName, Password);
db1->Connect();
printf("lai la,haha !");
// The following transaction configuration values are the defaults and
// those parameters could have as well be omitted to simplify writing.
IBPP::Transaction tr1 = IBPP::TransactionFactory(db1,
IBPP::amWrite, IBPP::ilConcurrency, IBPP::lrWait);
tr1->Start();