/** {@inheritDoc} */ public void commit() { try { if (xid != null) { env.commit(xid, true /* ignored */); } else { txn.commit(); } } catch (DatabaseException e) { throw JeEnvironment.convertException(e, false); } catch (XAException e) { throw JeEnvironment.convertException(e, false); } }