1. @Test
    2. public void testUtils() throws IOException {
    3. SqlSession session = MyBatisUtil.getSqlSession();
    4. List<Student> studentList = session.selectList("com.bjpowernode.dao.StudentDao.selectStudents");
    5. studentList.forEach( student -> System.out.println(student));
    6. session.close();
    7. }