|
Freeze Slice API Reference
|
A transaction. More...
defined in <Freeze/Transaction.ice>
local interface Transaction { ... }
Operations | |
| void | commit () |
| Commit this transaction. More... | |
| Connection | getConnection () |
| Get the connection associated with this transaction. More... | |
| void | rollback () |
| Roll back this transaction. More... | |
A transaction.
If you want to use a transaction concurrently in multiple threads, you need to serialize access to this transaction.
| void commit | ( | ) |
Commit this transaction.
| DatabaseException | Raised if a database failure occurred. |
| Connection getConnection | ( | ) |
Get the connection associated with this transaction.
| void rollback | ( | ) |
Roll back this transaction.
| DatabaseException | Raised if a database failure occurred. |