Je suis en train de faire une formulaire d'ajout client:
partie métier:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 @PersistenceContext(unitName="partieEjb") EntityManager em; public Clients ajoutClients(Clients c) { em.persist(c); return c; }
Partager