摘要: 1. 传入简单类型 JAVA代码: Java代码 public User get(Long id) { return (User) getSqlSession().selectOne("com.liulanghan.get" , id); } MAPPER : Xml代码 <select id="f 阅读全文
posted @ 2018-04-15 11:11 GᎭ•Cristin 阅读(196) 评论(0) 推荐(0) 编辑
摘要: MyBatipse:Eclipse 下的 Mybatis插件 MyBatipse:Eclipse 下的 Mybatis插件 MyBatipse是Eclipse的一个插件,提供了内容提示和Mybatis的配置文件验证功能; 特点 XMLEditor 的增强 代码自动完成 Mapper文件的namesp 阅读全文
posted @ 2018-04-15 11:07 GᎭ•Cristin 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 作者:Night Silent链接:https://www.zhihu.com/question/35812310/answer/64578510来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 这两个构件都是 Servlet-Specificatoin Jar (Se 阅读全文
posted @ 2018-04-15 10:34 GᎭ•Cristin 阅读(2208) 评论(0) 推荐(0) 编辑