transaction
A group of database changes that is saved all together or not at all.
A transaction is a unit of work that ends in commit (all changes made permanent) or rollback (all discarded); in JDBC it begins when autocommit is turned off, in SQL with BEGIN.
See also