Package me.victorhernandez.hellospring.dao.jpa

Examples of me.victorhernandez.hellospring.dao.jpa.UserDaoJpa


  }

  private static final long serialVersionUID = -6236373110062737899L;

  public void submit() {
    UserDaoJpa userDao = new UserDaoJpa();
    userDao.save(user);
    FacesMessage message = new FacesMessage("Registro exitoso!");
    FacesContext.getCurrentInstance().addMessage(null, message);
    clearForm();
  }
View Full Code Here


   */
  private static final long serialVersionUID = -5354619065235413950L;

  public List<Usuario> getRegisteredUsers() {
   
    UserDaoJpa userDao = new UserDaoJpa();
    return userDao.getAll();
   
  }
View Full Code Here

TOP

Related Classes of me.victorhernandez.hellospring.dao.jpa.UserDaoJpa

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.