TransactionManager.commitAndRestartTransaction

Commits the current transaction and starts a new transaction.

All processing must be executed within a transactional environment and the system provides default behaviour to ensure this: a transaction is started automatically each time a post is received from the user, and the current transaction is automatically committed just before the output page is presented to the user.

This method provides the opportunity to divide processing into a number of smaller transactions.