public void execute(Runnable statements)
	{
		try (HibernateTransaction tx = start().withAutoRollback())
		{
			statements.run();

			// Success, perform a TX commit
			tx.commit();
		}
	}
public void execute ( Runnable statements ) { try ( HibernateTransaction tx = start ( ) . withAutoRollback ( ) ) { statements . run ( ) ; tx . commit ( ) ; } }
Execute the provided Runnable within a transaction, committing if no exceptions are thrown

@param statements