摘要: 扫扫关注“茶爸爸”微信公众号 坚持最初的执着,从不曾有半点懈怠,为优秀而努力,为证明自己而活。 MyBatis的动态SQL是基于OGNL表达式的,它可以帮助我们方便的在SQL语句中实现某些逻辑。 MyBatis中用于实现动态SQL的元素主要有: ifchoose(whe... 阅读全文
posted @ 2015-04-15 17:14 雄狮_杜 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 扫扫关注“茶爸爸”微信公众号 坚持最初的执着,从不曾有半点懈怠,为优秀而努力,为证明自己而活。 Mapper XML Files The true power of MyBatis is in the Mapped Statements. This is where the... 阅读全文
posted @ 2015-04-15 17:09 雄狮_杜 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 扫扫关注“茶爸爸”微信公众号 坚持最初的执着,从不曾有半点懈怠,为优秀而努力,为证明自己而活。 Mapper XML Files The true power of MyBatis is in the Mapped Statements. This is where the... 阅读全文
posted @ 2015-04-15 17:09 雄狮_杜 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 扫扫关注“茶爸爸”微信公众号 坚持最初的执着,从不曾有半点懈怠,为优秀而努力,为证明自己而活。 Mapper XML Files The true power of MyBatis is in the Mapped Statements. This is where the... 阅读全文
posted @ 2015-04-15 17:09 雄狮_杜 阅读(185) 评论(0) 推荐(0) 编辑
摘要: One of the latest MyBatis feature is the ability to use Annotations or XML to do One-to-One or One-to-Many queries. Let’s start with an example, a... 阅读全文
posted @ 2015-04-15 16:54 雄狮_杜 阅读(119) 评论(0) 推荐(0) 编辑
摘要: One of the latest MyBatis feature is the ability to use Annotations or XML to do One-to-One or One-to-Many queries. Let’s start with an example, a... 阅读全文
posted @ 2015-04-15 16:54 雄狮_杜 阅读(126) 评论(0) 推荐(0) 编辑
摘要: One of the latest MyBatis feature is the ability to use Annotations or XML to do One-to-One or One-to-Many queries. Let’s start with an example, a... 阅读全文
posted @ 2015-04-15 16:54 雄狮_杜 阅读(102) 评论(0) 推荐(0) 编辑