Keel 2.1RC2

org.keel.services.persist
Interface Transaction

All Known Implementing Classes:
DefaultTransaction, HibernateTransaction

public interface Transaction

Request an instance of this interface from the PersistentFactory


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void begin()
           
 void commit()
           
 java.sql.Connection getConnection()
           
 void rollback()
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

begin

public void begin()
           throws PersistenceException
Throws:
PersistenceException

commit

public void commit()
            throws PersistenceException
Throws:
PersistenceException

rollback

public void rollback()
              throws PersistenceException
Throws:
PersistenceException

getConnection

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.