摘要:
1.@Param("XX")String XXX 注入到SQL语句中#{XX} 2.controller (@RequestParam String XX) 阅读全文
摘要:
1.读取全局配置文件String resource="mybatis-config.xml"; InputStream is=Resources.getResourceAsStream(resource); 2.创建SqlSessionFactory对象 SqlSessionFactory fact 阅读全文