ibatis返回HashMap类型结果时自动把Integer类型数据转变成BigDecimal类型
来源:互联网 发布:淘宝html模板 编辑:程序博客网 时间:2024/06/07 18:45
这几天用ibatis框架时发下当返回HashMap类型时,会把Integer类型的数据转变成BigDecimal类型
<select id="getProduct" parameterClass="int" resultClass="java.util.HashMap">
select * from product where id=#id#
</select>
表product字段id为Integer类型,返回的map中id类型变成BigDecimal类型
- ibatis返回HashMap类型结果时自动把Integer类型数据转变成BigDecimal类型
- ibatis返回HashMap结果类型与映射
- 关于resultset返回数字类型时为BigDecimal类型
- struct2 返回结果类型
- BigDecimal类型
- BigDecimal 类型
- 将char *类型数据转变成oc数据
- BigDecimal类型数据的运算
- ibatis中返回Map类型
- 从Cell类型转变成数据型
- NSNumber转变成 NSString 类型
- Struts常用结果返回类型
- struts2返回结果的类型
- Integer类型
- Integer类型数据相等问题
- integer类型数据的比较
- Integer类型数据相等问题
- Integer类型数据相等问题
- 面试必备的9大成功秘诀
- iOS5 ARC,IBOutlets 应该定义strong还是weak
- USB协通讯议--深入理解
- 分布式计算开源框架Hadoop入门实践
- 如何解决mysql导入数据乱码问题
- ibatis返回HashMap类型结果时自动把Integer类型数据转变成BigDecimal类型
- 工作中,如何做带教老师
- linux内核启动代码分析
- Oracle利用SQL*PLUS的spool功能抽取数据
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: null is not a Java .class file
- C/C++中extern关键字详解
- char* 与LPTSTR (或LPCTSTR)及CString 之间的转换
- HTMLEncode
- POJ_2255