示例#1
0
        Connection* Environment::CreateConnection()
        {
            Connection* connection;

            IGNITE_ODBC_API_CALL(InternalCreateConnection(connection));

            return connection;
        }
示例#2
0
        Statement* Connection::CreateStatement()
        {
            Statement* statement;

            IGNITE_ODBC_API_CALL(InternalCreateStatement(statement));

            return statement;
        }
示例#3
0
 void Connection::Establish(const std::string& connectStr)
 {
     IGNITE_ODBC_API_CALL(InternalEstablish(connectStr));
 }
示例#4
0
 void Connection::GetInfo(config::ConnectionInfo::InfoType type, void* buf, short buflen, short* reslen)
 {
     IGNITE_ODBC_API_CALL(InternalGetInfo(type, buf, buflen, reslen));
 }
示例#5
0
 void Connection::TransactionRollback()
 {
     IGNITE_ODBC_API_CALL(InternalTransactionRollback());
 }
示例#6
0
 void Connection::TransactionCommit()
 {
     IGNITE_ODBC_API_CALL(InternalTransactionCommit());
 }
示例#7
0
 void Connection::Release()
 {
     IGNITE_ODBC_API_CALL(InternalRelease());
 }
示例#8
0
 void Connection::Establish(const config::Configuration cfg)
 {
     IGNITE_ODBC_API_CALL(InternalEstablish(cfg));
 }
示例#9
0
 void Environment::SetAttribute(int32_t attr, void* value, int32_t len)
 {
     IGNITE_ODBC_API_CALL(InternalSetAttribute(attr, value, len));
 }
示例#10
0
 void Environment::TransactionRollback()
 {
     IGNITE_ODBC_API_CALL(InternalTransactionRollback());
 }
示例#11
0
 void Environment::TransactionCommit()
 {
     IGNITE_ODBC_API_CALL(InternalTransactionCommit());
 }
示例#12
0
 void Environment::GetAttribute(int32_t attr, app::ApplicationDataBuffer& buffer)
 {
     IGNITE_ODBC_API_CALL(InternalGetAttribute(attr, buffer));
 }
示例#13
0
 void Connection::Establish(const std::string& host, uint16_t port, const std::string& cache)
 {
     IGNITE_ODBC_API_CALL(InternalEstablish(host, port, cache));
 }