mybatis中updateByPrimaryKeySelective
2015-11-25 14:10
225 查看
mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串
<if test="description != null and description !=''" > description = #{description,jdbcType=VARCHAR}, </if>
相关文章推荐
- 51nod 1449:砝码称重
- SecureCRT命令行参数
- iOS开发-Protocol协议及委托代理(Delegate)传值
- Maven入门指南④:仓库
- myelipase jad插件安装
- Linux安全之——Ubuntu的iptable命令使用
- js中substr,substring,indexOf,lastIndexOf,split 的用法
- ”数学口袋精灵“第二个Sprint计划---第二天
- pptp服务故障
- js数组去重的4个方法
- Android 加载不同 DPI 资源与内存消耗间的关系
- LightOJ 1030 Discovering Gold
- 解码OutOfMemoryError:PermGen Space
- 自己看
- UML图学习之二 类图
- UML图学习之三 状态图
- options.parse === void 0
- IO多路复用之select
- Android代码生成TextView,Button,CheckBox等控件的设置技巧
- java基础之网络(InetAdress、URL)