There is no result map named xxxx in this SqlMap
来源:互联网 发布:网络棋牌室斗地主 编辑:程序博客网 时间:2024/05/17 09:06
在进行ibatis一对一关系查询的时候,内嵌类的数据查询出来后不能加载进去,于是用resultMap进行嵌套
<resultMap class="ResUserLink" id="resUserLink">
<result property="id" column="id" />
<result property="posx" column="posx"/>
<result property="posy" column="posy"/>
<result property="user_Id" column="user_Id"/>
<result property="resc" resultMap="resc1"/>
</resultMap>
<resultMap class="Resc" id="resc1">
<result property="id" column="id" />
<result property="res_Code" column="res_Code" />
<result property="res_Name" column="res_Name" />
<result property="type" column="type" />
<result property="descr" column="descr" />
<result property="imgUrl" column="imgUrl" />
<result property="url" column="url" />
<result property="action" column="action" />
<result property="params" column="params" />
<result property="priority" column="priority" />
</resultMap>
两个map在同一个文件,开始包没有找个resc1找个id
后来查到必须得加上空间名即
<result property="resc" resultMap="com.apt.simp.security.dao.resc1"/>
- There is no result map named xxxx in this SqlMap
- There is no result map named seatCache.SeatInfo in this SqlMap
- There is no result map named seatCache.SeatInfo in this SqlMap
- mybatis中遇到的一个小问题【There is no result map named java.lang.Integer in this SqlMap】
- ibatis提示"There is no statement named xxxx in this SqlMap"的问题
- there is no statement named xxx in this SqlMap
- There is no statement named DYNAMICS.findAll in this SqlMap.
- There is no statement named XXX in this SqlMap
- There is no statement named xxx.xxx in this SqlMap
- There is no statement named *** in this SqlMap.
- There is no statement named OproductKey.selectProductkey in this SqlMap
- Cause: com.ibatis.sqlmap.client.SqlMapException: There is no result map named java.lang.Integer in t
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap.
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named 语句名 in this SqlMap.
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named Control.insert-control in this SqlMap.
- 解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap
- 解闷ibatis与spring的配置( There is no statement named XXX in this SqlMap)
- There is no statement named uhr.rcmt.resume.domain.ApplRelation.queryCount in this SqlMap.
- UINavigationController的使用
- 正则表达式30分钟入门教程
- 盘点黑客攻击途径:最常用的7个策略及简单的防护方法
- Error: java.lang.IllegalStateException: Cannot forward after response has been committed
- 程序员必知的8大排序(四)归并排序,基数排序(java实现)
- There is no result map named xxxx in this SqlMap
- 终于拥有自己的博客了
- 最近干的活
- 国内HTML5前端开发框架汇总
- 【Rails】在Rails中使用Gravatar
- nexus 私服的创建和使用 MAVEN
- SCSI 总线和协议
- WEB开发中安全注意事项
- 判断特殊字符的正则表达式