public static List<Medicament> selectAll(EntityManager em) throws PersistenceException {
        List<Medicament> lesMedicaments = null;
        Query query= em.createQuery("select m from Medicament m");
        lesMedicaments = query.getResultList();
        return lesMedicaments;
    }