ibatis+spring+mysql nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
来源:互联网 发布:mac玩美服lol加速器 编辑:程序博客网 时间:2024/06/07 09:06
org.springframework.jdbc.BadSqlGrammarException: SqlMapClient operation; bad SQL grammar []; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in ibatis/account/agencyUser.xml.
--- The error occurred while applying a result map.
--- Check the agencyUserResult.
--- Check the result mapping for the 'idCard' property.
--- The error occurred in ibatis/account/agencyUser.xml.
--- The error occurred while applying a result map.
--- Check the agencyUserResult.
--- Check the result mapping for the 'idCard' property.
--- Cause: java.sql.SQLException: Column 'id_card' not found.
属性和字段映射的错误
1 看看你建的类中有没有属性叫idCard;
2 在.xml中看看resultMap中看看<result property="idCard" column="id_card"/>有没有写错
3 在其他.xml文件中看看是否有<includerefid="sentenceXXX"/>重名了的
0 0
- ibatis+spring+mysql nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
- 将截断字符串或二进制数据。; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
- Ibatis com.ibatis.common.jdbc.exception.NestedSQLException
- com.ibatis.common.jdbc.exception.NestedSQLException:
- iBatis2错误:com.ibatis.common.jdbc.exception.NestedSQLException:
- com.ibatis.common.jdbc.exception.NestedSQLException:原因分析
- com.ibatis.common.jdbc.exception.NestedSQLException 今天用ibatis做数据查询时发生了这个异常
- mybatis报错:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exception
- nested exception is java.sql.SQLException: com.mysql.jdbc.Driver
- Spring错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.Bi
- Spring错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.B
- Spring错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.Bi
- Spring+mybatis错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.bi
- Spring+MyBatis 错误:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.b
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste
- 关于spring+springMVC+mybatis+maven搭建中的nested exception is org.apache.ibatis.binding.BindingException
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorEx
- org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.Reflecti
- Linux Kernel(Android) 加密算法总结(一)(cipher、compress、digest)
- C++构造函数中的初始化:C++构造函数后面的冒号
- 手机助手的那点事儿--经验之谈
- 更改csv默认分隔符
- 使用wcscat_s函数时遇到的一些问题
- ibatis+spring+mysql nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
- POJ 1265
- shu_1161 人民币问题
- 初涉R语言第四天
- javascript 判断str日期是否是今天,参数diff
- Linux 进程IPC通信实例
- poj 1265 Area
- 现代舞舞者金星
- LPC1788和LPC1768时钟配置的差异