@Test public void addGroup() { Group group = new Group(); group.setName("abcabc"); groupJdbcDao.add(group); System.out.println(group.getId()); }
@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()); }