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