Package org.reldb.wrapd.sqldb
Interface Database.XactGo<T>
- Enclosing class:
- Database
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Database.XactGo<T>
Used to define lambda expressions for more ergonomic transaction processing.
-
Method Summary
-
Method Details
-
go
Run the transaction- Parameters:
tcw
- Transaction wrapper.- Returns:
- Result of transaction.
- Throws:
java.sql.SQLException
- thrown if operation fails.
-