Ejemplo n.º 1
0
        Connection* Environment::CreateConnection()
        {
            Connection* connection;

            IGNITE_ODBC_API_CALL(InternalCreateConnection(connection));

            return connection;
        }
Ejemplo n.º 2
0
        Statement* Connection::CreateStatement()
        {
            Statement* statement;

            IGNITE_ODBC_API_CALL(InternalCreateStatement(statement));

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