Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.


Freeze::Transaction

Overview

local interface Transaction

A transaction. If you want to use a transaction concurrently in multiple threads, you need to serialize access to this transaction.

Used By

Operation Index

commit — Commit this transaction.
rollback — Roll back this transaction.
getConnection — Get the connection associated with this Transaction

Operations

void commit()

Commit this transaction.

Exceptions

Freeze::DatabaseException — Raised if a database failure occurred.

void rollback()

Roll back this transaction.

Exceptions

Freeze::DatabaseException — Raised if a database failure occurred.

Freeze::Connection getConnection()

Get the connection associated with this Transaction


  • No labels