xac.synchroRegistred = true;
} catch (RollbackException e) {
//The JDO container cannot be registered then the transaction
// must be rolledback
if (tx.isActive()) {
tx.rollback();
}
} catch (Exception e) {
String msg = "Impossible to register the Speedo " +
"container as synchronization on the current" +
" transaction: " + e.getMessage();