A Transaction is the environment which in a change
to the database can be made. Simplified, the database
is not changed until the transaction is closed. More
then one change to the database can be performed within
one transaction.
If the same entries in the database were changed during
the lifespan of the transaction, it cannot be closed but
has to be cancelled.