protected void prepareAndCommit()
throws NotCommittableException, TransactionInactiveException
{
TransactionProvider tp = getTransactionProvider();
tp.prepareCurrentTransaction();
tp.commitCurrentTransaction();
}
/**
* A convenience method that calls the rollbackCurrentTransaction()
* method of the TransactionProvider.