예제 #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));
 }