Interface DatabaseTransaction<T>
-
public interface DatabaseTransaction<T>
Defines a sequence of code that is executed in the scope of a transaction. A database connection is aquired by the executing transaction controller and passed DatabaseTransaction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
run(java.sql.Connection con)
-
-
-
Method Detail
-
run
T run(java.sql.Connection con) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-