{
transaction.commit();
}
catch (RollbackException re)
{
throw new PersistenceCommitException("Transaction commit exception: "+re, re);
}
catch (OptimisticLockException ole)
{
throw new PersistenceCommitException("Transaction locking/version commit exception: "+ole, ole);
}
}
}