@Test public void testAddForum(){ Forum forum = new Forum(); forum.setForumName("test2"); forum.setForumDesc("desc 2"); forumDao.addForum(forum); }
public void addForum(Forum forum){ forumInsert.insert(forum); }
ForumOODao { public void addForum(Forum forum){ forumInsert.insert(forum); } }
ForumOODao { public void addForum(Forum forum){ forumInsert.insert(forum); }  }
ForumOODao { public void addForum(Forum forum){ forumInsert.insert(forum); }  @Autowired void setDataSource(DataSource dataSource); @PostConstruct void init(); Forum getForum(int forumId); void addForum(Forum forum); int getTopicNum(int userId); int getForumNum(); }
ForumOODao { public void addForum(Forum forum){ forumInsert.insert(forum); }  @Autowired void setDataSource(DataSource dataSource); @PostConstruct void init(); Forum getForum(int forumId); void addForum(Forum forum); int getTopicNum(int userId); int getForumNum();  }