6970717273747576777879
mar = new Marche(); pm.makePersistent(mar); nbMar ++; } if ((idArt % 2) == 0) { //pair a = new Service(idArt); } else { //impair a = new Materiel(idArt); } pm.makePersistent(a); a.setCatalogue(cat);