| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transaction
Wraps a database connection. Handles the connection lifecycle that comprises: its creation, preparation, commit/rollback and close.
| Method Summary | |
|---|---|
 void | 
close()
Close inner database connection.  | 
 void | 
commit()
Commit inner database connection.  | 
 Connection | 
getConnection()
Retrieve inner database connection  | 
 void | 
rollback()
Rollback inner database connection.  | 
| Method Detail | 
|---|
Connection getConnection()
                         throws SQLException
SQLException
void commit()
            throws SQLException
SQLException
void rollback()
              throws SQLException
SQLException
void close()
           throws SQLException
SQLException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||