Ibatis中报There is no READABLE property named错误
来源:互联网 发布:军方清理电脑软件 编辑:程序博客网 时间:2024/05/14 15:49
User.java
private int op_Id;
getter...
setter...
sqlmap.xml中
select op_id from user where op_od =#op_id#
执行异常:
There is no READABLE property named op_id
上网查了相关解决方式,见http://bakcom.iteye.com/blog/226036 感谢该博主的共享。同时,修改sqlmap.xml中的内容,修改为:select op_id from user where op_od =#op_Id#
问题也可以处理。
所以总结下,解决这个问题应该有2种方式1、修改javaBean下的内容(详细见上文url内容)2、修改sqlMap中的语句
0 0
- Ibatis中报There is no READABLE property named错误
- Ibatis中报There is no READABLE property named错误.得解
- ibatis报错:There is no READABLE property named
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'propertyName' in class 'className'
- Ibatis中的一个“There is no READABLE property named 'uId' in class 'useri 的解决办法
- Ibatis:There is no READABLE property named 'userName' in class 'java.lang.String'
- Ibatis:There is no READABLE property named 'member_id' in class 'java.lang.String'
- Ibatis:There is no READABLE property named 'roomNo' in class 'java.lang.String'
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'baiduIndex' in class 'j
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'baiduIndex' in class '
- 解决There is no READABLE property named 'SID'问题
- 解决There is no READABLE property named 'SID'问题
- There is no READABLE property named ' ' in class ' '
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'value' in class 'com.ving.xzfw.vo.PaymentInfo'
- com.ibatis.common.beans.ProbeException: There is no READABLE property named 'value' in class 'com.ving.xzfw.vo.PaymentInfo'
- 报错:org.apache.ibatis.reflection.ReflectionException: There is no getter for property named
- Mybatis报There is no getter for property named 'name' in 'class java.lang.String'错误
- There is no READABLE property named 'id' in class 'java.lang.Integer'
- 《炉石传说》架构设计赏析(1):游戏启动流程
- 须臾凝香 落红无处
- CGAffineTransform 相关函数
- View层架构是影响业务方迭代周期的因素之一
- iOS中label设置属性字符串
- Ibatis中报There is no READABLE property named错误
- 计算Cell高度的注意事项(我总会出错)
- Java面向对象入门(一)
- AndroidAnnotation环境配置、插件安装(android eclipse 没有Annotation Processin选项)
- 正确理解ThreadLocal
- 九度1003 A+B
- Android WheelMenu圆形菜单,巧妙实现
- 二十多岁的你,迷茫又着急。
- Android 透明状态栏实现