Freeze Slice API Reference
Transaction.ice
Go to the documentation of this file.
1 //
2 // Copyright (c) ZeroC, Inc. All rights reserved.
3 //
4 
5 #pragma once
6 
7 [["cpp:header-ext:h", "cpp:dll-export:FREEZE_API"]]
8 
9 module Freeze
10 {
11 
12 local interface Connection;
13 
21 local interface Transaction
22 {
30  void commit();
31 
39  void rollback();
40 
48  ["cpp:const"] Connection getConnection();
49 }
50 
51 }
Freeze::Transaction::rollback
void rollback()
Roll back this transaction.
Freeze::Transaction::getConnection
Connection getConnection()
Get the connection associated with this transaction.
Freeze
Freeze provides automatic persistence for Ice servants.
Definition: BackgroundSaveEvictor.ice:12
Freeze::Transaction
A transaction.
Definition: Transaction.ice:22
Freeze::Transaction::commit
void commit()
Commit this transaction.
Freeze::Connection
A connection to a database (database environment with Berkeley DB).
Definition: Connection.ice:36