code: public static List<Audit> findAll(EntityManager em) {
          requireArgument(em != null, "Entity manager cannot be null.");
  
          TypedQuery<Audit> query = em.createNamedQuery("Audit.findAll", Audit.class);
  
          try {
              return query.getResultList();
          } catch (NoResultException ex) {
              return new ArrayList<Audit>(0);
          }
      }
docs: Finds all audits.
  
  @param   em  Entity manager. Cannot be null.
  
  @return  All audits