随笔分类 -  MyBatis

摘要:<insert id="addAttrValueBatch"> <if test="materialCustomerAttrPOS != null and materialCustomerAttrPOS.size>0"> insert into material_customer_attr(core 阅读全文
posted @ 2021-11-15 11:08 Bob.Xie 阅读(231) 评论(0) 推荐(0) 编辑
摘要:ibatis在查询结果列不确定(或是动态变化)的情况下,会因为列缓存的原因导致变化后的列数据查不出来 解决方法是: select标签有个属性remapResults,该属性默认值为false,设置成remapResults="true",即可解决 注:当设置remapResults为"true"时, 阅读全文
posted @ 2018-10-26 13:29 Bob.Xie 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-08-14 14:04 Bob.Xie 阅读(376) 评论(0) 推荐(0) 编辑
摘要:web.xml 1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-i 阅读全文
posted @ 2017-04-14 09:17 Bob.Xie 阅读(161) 评论(0) 推荐(0) 编辑
摘要:1 2 4 5 6 7 8 9 10 11 12 13 14 ... 阅读全文
posted @ 2017-04-12 17:12 Bob.Xie 阅读(141) 评论(0) 推荐(0) 编辑
摘要:mybatis.xml 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" 3 "http://mybatis.org/dtd/ 阅读全文
posted @ 2017-04-12 15:26 Bob.Xie 阅读(170) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示