Package test

Examples of test.ProfesorForm


    em.getTransaction().begin();
    Query query = em.createQuery("SELECT p FROM Profesor p");
    p = (List<Profesor>) query.getResultList();
    if (!p.isEmpty()) {
      for (Profesor index : p) {
        ProfesorForm pf = new ProfesorForm();
        pf.setEmail(index.getEmail());
        pf.setNumeForm(index.getNume() + " " + index.getPrenume());
        pf.setNumeProfesor(index.getNume());
        pf.setPrenumeProfesor(index.getPrenume());
        pf.setSite(index.getSitePersonal());
        profesorFormList.add(pf);
      }
    }
    return profesorFormList;
View Full Code Here

TOP

Related Classes of test.ProfesorForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.