sqlg2.db
Interface ISimpleTransaction

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
ITransaction
All Known Implementing Classes:
SimpleTransaction, Transaction, TransactionRunnable

public interface ISimpleTransaction
extends java.rmi.Remote

"Simple" transaction. "Simple" transaction makes method calls atomic, every business method call made from a simple transaction either commits or rolls back (the latter in the case of exception, but see also InformationException). In the most cases simple transactions are sufficient. For user-managed transactions (where you should explicitly call commit or rollback) use ITransaction. Unlike ITransaction, ISimpleTransaction does not hold any resources between method calls.


Method Summary
<T extends IDBCommon>
T
getInterface(java.lang.Class<T> iface)
          Returns data access interface generated by preprocessor.
 

Method Detail

getInterface

<T extends IDBCommon> T getInterface(java.lang.Class<T> iface)
                                 throws java.rmi.RemoteException
Returns data access interface generated by preprocessor.

Parameters:
iface - interface class
Returns:
data access interface implementation
Throws:
java.rmi.RemoteException