org.wamblee.test.persistence
Interface DatabaseUtils.JdbcUnitOfWork<T>
- Type Parameters:
T - Type of return value.
- Enclosing class:
- DatabaseUtils
public static interface DatabaseUtils.JdbcUnitOfWork<T>
Represents a unit of work (transaction).
- Author:
- Erik Brakkee
|
Method Summary |
T |
execute(java.sql.Connection aConnection)
Executes statement within a transaction. |
execute
T execute(java.sql.Connection aConnection)
throws java.lang.Exception
- Executes statement within a transaction.
- Parameters:
aConnection - Connection.
- Returns:
- Result of the work.
- Throws:
java.lang.Exception
Copyright © 2010. All Rights Reserved.