SharedSQLArchive Class ReferenceSQLArchive that supports transactions on object level.
More...
|
||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Transaction | createTransaction (Transaction::creationType pType=Transaction::TRANS_USE_LAST) |
| Creates Transaction object. | |
| SharedSQLArchive (Database *pDatabase=NULL) | |
| Constructor. | |
| virtual | ~SharedSQLArchive () throw () |
| Destructor. | |
Detailed Description
SQLArchive that supports transactions on object level.Constructor & Destructor Documentation
| SharedSQLArchive | ( | Database * | pDatabase = NULL |
) |
Constructor.
- See also:
- SQLArchive constructor for explanations
- Parameters:
-
pDatabase Database object describing SQL database.
Member Function Documentation
| Transaction createTransaction | ( | Transaction::creationType | pType = Transaction::TRANS_USE_LAST |
) |
Creates Transaction object.
When this object will be deleted all changes to database will be commited if there was no error or rolled back if sql error occurs on streams that belong to Transaction. For one instance of SQLArchive, first created Transaction object will open SQL transaction on single database connection. Last destructed transaction object will commit or rollback SQL transaction.
- Parameters:
-
pType of transaction. See Transaction::creationType for explanations
The documentation for this class was generated from the following file:
| Documentation |
|---|
| Quick start |
| Examples |
| API Documentation |
|---|
| Class hierarchy |
| Member index |
| API Reference |
| Store filters |
| Store table macros |
Generated by doxygen at Fri Oct 22 23:15:45 2010


