Freeze Slice API Reference
Main Page
Modules
Modules List
Module Members
All
Sequences
Interfaces
Interface List
Interface Index
Interface Hierarchy
Structs
Struct List
Struct Index
Exceptions
Exception List
Exception Index
Exception Hierarchy
Files
File List
•
All
Classes
Interfaces
Structs
Exceptions
Modules
Files
Operations
Constants
Sequences
Enumerations
Pages
Freeze
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
Generated by
1.8.20