Savarese Software Research Corporation
DatabaseTransaction.h File Reference

This header defines the DatabaseTransaction class. More...

#include <ssrc/wispers/database/Database.h>
#include <boost/noncopyable.hpp>
Include dependency graph for DatabaseTransaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DatabaseWrapper
class  DatabaseTransaction
 Use DatabaseTransaction to ensure a transaction is rolled back if an exception is thrown. More...

Defines

#define WSPR_DB_INIT_QUERY(key)   _ ## key(_database.prepare(*properties.get_ptr<string>(#key)))

Detailed Description

This header defines the DatabaseTransaction class.

Definition in file DatabaseTransaction.h.


Define Documentation

#define WSPR_DB_INIT_QUERY (   key)    _ ## key(_database.prepare(*properties.get_ptr<string>(#key)))

Definition at line 33 of file DatabaseTransaction.h.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.