it.biobytes.ammentos
Class Transaction

java.lang.Object
  extended by it.biobytes.ammentos.Transaction

public class Transaction
extends java.lang.Object

Author:
davide

Constructor Summary
Transaction(int isolationLevel)
          Represents a transaction into the framework
 
Method Summary
 void commit()
           
 java.sql.Connection getDbConnection()
           
 void rollback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(int isolationLevel)
Represents a transaction into the framework

Method Detail

commit

public void commit()
            throws PersistenceException
Throws:
PersistenceException

rollback

public void rollback()
              throws PersistenceException
Throws:
PersistenceException

getDbConnection

public java.sql.Connection getDbConnection()
                                    throws PersistenceException
Throws:
PersistenceException