| java.lang.Object velosurf.model.Action velosurf.model.Transaction
Transaction | public class Transaction extends Action (Code) | | This class is an action that gather several consecutive update/delete/insert queries.
author: Claude Brisson |
Transaction | public Transaction(String name, Entity entity)(Code) | | Builds a new transaction.
Parameters: name - transaction name Parameters: entity - entity |
perform | public int perform(Map<String, Object> source) throws SQLException(Code) | | Performs this action.
Parameters: source - ReadOnlyMap containing parameter values exception: SQLException - thrown from the database number of affected rows (addition of all the partial counts) |
setParamNamesLists | public void setParamNamesLists(List<List<String>> paramLists)(Code) | | Set the list of list of parameters.
Parameters: paramLists - list of list of parameters |
setQueries | public void setQueries(List<String> queries)(Code) | | Set the list of queries.
Parameters: queries - list of SQL queries |
toString | public String toString()(Code) | | Debug method.
the definition string of the transaction |
|
|