ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
 MenuListDAO obj = (.MenuListDAO)ctx.getBean("MenuListDAO"); 
 List<MenuList > result=obj.byWhere("1=1") ; 
        for(MenuList  o:result)
        { 
            System.out.println("姓名:"+o.getMenuName() ); 
        }
这样取数据后用关闭SESSIOn吗? 如 hebinate 要这样写 session.close()  spring怎么写?