Package es.udc.tfg.journals.model.user

Examples of es.udc.tfg.journals.model.user.UserDao.save()


      // Register user.
      User userProfile = new User("user@udc.es",
          PasswordEncrypter.crypt("userPassword"), "name",
          "lastName", "user");
      userProfileDao.save(userProfile);
      Long userId = userProfile.getUserId();
      System.out.println("User with userId '" + userId
          + "' has been created");
      System.out.println(userProfile);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.