Package project.entities

Examples of project.entities.User


import project.entities.User;

public class UserDAOImpl extends HibernateDaoSupport implements UserDAO {

  public User createUser(String name, String password) {
    User newUser = new User(name, password);
    return (User) getHibernateTemplate().save(newUser);
  }
View Full Code Here

TOP

Related Classes of project.entities.User

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.