docs: @Override
      public void endImport() {
          if (!m_batch.isEmpty()) {
              mergeInTransaction(m_em, m_batch);
          }
          if (m_em != null && m_em.isOpen()) {
              m_em.close();
          }
          if (m_emf != null) {
              m_emf.close();
          }
      }