Result Set not updatable
来源:互联网 发布:兰德马克软件招聘 编辑:程序博客网 时间:2024/04/26 20:22
com.mysql.jdbc.NotUpdatable: Result Set not updatable (referenced table has no primary keys).This result set must come from a statement that was created with a result set type of ResultSet.CONCUR_UPDATABLE, the query must select only one table, can not use functions and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details.
at com.mysql.jdbc.UpdatableResultSet.generateStatements(UpdatableResultSet.java:628)
at com.mysql.jdbc.UpdatableResultSet.syncUpdate(UpdatableResultSet.java:1537)
at com.mysql.jdbc.UpdatableResultSet.updateString(UpdatableResultSet.java:2493)
at com.mysql.jdbc.UpdatableResultSet.generateStatements(UpdatableResultSet.java:628)
at com.mysql.jdbc.UpdatableResultSet.syncUpdate(UpdatableResultSet.java:1537)
at com.mysql.jdbc.UpdatableResultSet.updateString(UpdatableResultSet.java:2493)
at com.mysql.jdbc.UpdatableResultSet.updateString(UpdatableResultSet.java:2531)
表没有加主键导致。
- Result Set not updatable
- Result Set not updatable解决办法
- com.mysql.jdbc.NotUpdatable: Result Set not updatable (references no primary keys).(解决方法)
- Not allowed to return a result set from a trigger
- CommandText does not return a result set. 怎么处理
- ADOQuery错误:ADOQuery1:commandtext does not return a result set
- SQLServerException: The statement did not return a result set
- ADOQuery错误:ADOQuery1:commandtext does not return a result set
- This result is a forward only result set, calling rewind() after moving forward is not supported
- Interface Managers - Material Transaction - Process Interval - Field Not Updatable
- oracle Result Set Caching
- mysql error -- 1415 not allowed to return a result set from a trigger
- 遇到Warning: Unknown: 1 result set(s) not freed. Use mysql_free_result to free r
- MySQL必知必会 ERROR 1415 (0A000): Not allowed to return a result set from a trigger
- mysql error 1415 not allowed to return a result set from a trigger
- SQL Server set nocount on 与JDBC: The statement did not return a result
- mysql Not allowed to return a result set from a trigger
- java使用jdbc调用hive出现The query did not generate a result set!
- 如何进行优秀的时间管理
- 6.windbg-windbg环境
- ulimit -SHn 65535 含义
- ubuntu 安装 ncurses
- Flex编程注意之直接获取某个组件的对象(this[]用法)通过id获取控件
- Result Set not updatable
- C# 山寨版完整版QQ
- 成员变量和局部变量
- [转]Android 适配器Adapter的学习
- myeclipse 显示 .setting
- secureCRT和Xshell登录Ubuntu
- 原:用C/C++扩展PHP
- 嵌入式linux下u盘自动挂载的实现
- secureCRT和Xshell登录ubuntu