Example #1
0
 @Test
 public void load() {
   User user = userJdbcDao.load(3);
   System.out.println(user.getNickname());
   System.out.println(user.getGroup().getName());
 }
Example #2
0
 @Test
 public void update() {
   User user = new User("zhuhe", "111", "цак");
   user.setId(1);
   userJdbcDao.update(user);
 }