code: @Override
      public void commit()
      {
          if (!getRollbackOnly())
          {
              onTransaction(TxAction.COMMIT);
              ((EntityManagerImpl) entityManager).getPersistenceDelegator().commit();
          }
      }
docs: /*
  (non-Javadoc)
  
  @see javax.persistence.EntityTransaction#commit()