@Override
public TBoolean commitTx(TTransaction tx) throws TException {
try {
return new TBoolean(txManager.commit(ConverterUtils.unwrap(tx)));
} catch (TransactionNotInProgressException e) {
throw new TTransactionNotInProgressException(e.getMessage());
}
}