org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.lang.String
来源:互联网 发布:php curl获取json数据 编辑:程序博客网 时间:2024/06/07 19:42
今天写个mybatis配置意外发现一个错误,记录一下:
错误的配置:
<select id="findExpertMessage" resultMap="java.lang.String">
select t.strPhoneId FROM expert e
LEFT JOIN termuser t ON t.ID = e.USER_ID
where e.STATE = 3
</select>
导致 Could not find result map java.lang.String
正确的配置:
<select id="findExpertMessage" resultType="java.lang.String">
select t.strPhoneId FROM expert e
LEFT JOIN termuser t ON t.ID = e.USER_ID
where e.STATE = 3
</select>
阅读全文
0 0
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.lang.String
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.Map
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMap
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.gobuy.order.mapp
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.szh.bean.product
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map xxMapper.
- org.apache.ibatis.builder.IncompleteElementException:Could not find result map cn.tengfei.core.dao.p
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.mplus.server.dat
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.juan.mapper.JaUs
- org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map ***
- org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map
- org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map
- org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map
- org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map
- Java利用Itext导出pdf
- 函数中的参数修改,原值会不会跟着变?这个还是要用”箭头“理论来解释
- 有关apache包里面的BeanUtils.copyProperties 字段类型为Integer或者Double时,自动赋值为默认值的问题随笔
- 数据库分区
- dubbo超时与超时后自动重复调用的问题
- org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.lang.String
- 000048:编写java程序,实现判断变量x是奇数还是偶数
- find命令的学习使用
- 使用迭代器Iterator和增强for循环如何遍历集合
- git教程
- 集合划分问题
- jqgrid setCell 根据单元格 值的不同 设置不同的样式 属性
- squeezedet windows 安装(cpu)
- 安卓计算器程序