SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWQEQueryLock Class Reference

#include <rw/test/dbcore/RWQEQueryLock.h>

Public Member Functions

template<typename T >
 RWQEQueryLock (T &op, const RWDBConnection &conn)
 
 ~RWQEQueryLock ()
 

Detailed Description

Execute a query under a transaction, effectively locking the resource modified by the query.

Constructor & Destructor Documentation

template<typename T >
RWQEQueryLock::RWQEQueryLock ( T &  op,
const RWDBConnection conn 
)

Begins a transaction and executes operation using conn.

RWQEQueryLock::~RWQEQueryLock ( )

Commits the transaction.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.