예제 #1
0
 @Test
 public void addGroup() {
   Group group = new Group();
   group.setName("abcabc");
   groupJdbcDao.add(group);
   System.out.println(group.getId());
 }
예제 #2
0
 @Test
 public void add() {
   Group group = new Group();
   group.setName("abcabc");
   groupJdbcDao.add(group);
   System.out.println(group.getId());
   User user = new User("zhu", "123", "zhu");
   userJdbcDao.add(user, group.getId());
 }