if (connectionFactory.getTransactionMode() == SpeedoProperties.TRANSACTION_BMODE_UT) {
try {
userTransaction.commit();
logger.log(BasicLevel.DEBUG, "UserTransaction commit.");
} catch(Exception e) {
throw new JDOException("Error with JTA UserTransaction.commit().", e);
}
} else {
// do nothing
logger.log(BasicLevel.INFO, "Nothing is done on commit. The property ignoreJDOTransaction is activated.");
}