Performs several SQL commands on single connection
wrapped in a transaction (BEGIN/COMMIT in PostgreSQL).
Each command should use '$n' notation to refer params
values. Before any command occurs in transaction the
local SQL variables is set from vars.
argnums array holds information about which parameter
from params should be passed to a query in commands.
If there are no params, the argnums can be empty.
oneRowConstraint store info which query in commands have
to have one row respond. If some query with the constraint switched on
returns 0 or greater than 1 - transaction is rollbacked and OneRowConstraintException
is thrown.
Performs several SQL commands on single connection wrapped in a transaction (BEGIN/COMMIT in PostgreSQL). Each command should use '$n' notation to refer params values. Before any command occurs in transaction the local SQL variables is set from vars.
argnums array holds information about which parameter from params should be passed to a query in commands. If there are no params, the argnums can be empty.
oneRowConstraint store info which query in commands have to have one row respond. If some query with the constraint switched on returns 0 or greater than 1 - transaction is rollbacked and OneRowConstraintException is thrown.