docs: private void persist(Object entity, KieRuntimeEvent event) { 
          EntityManager em = getEntityManager(event);
          Object tx = joinTransaction(em);
          em.persist(entity);
          leaveTransaction(em, tx);
      }