社区
数据库相关
帖子详情
在删除记录时提示:Table is read only.如何解决?
hbqinlei
2004-11-03 09:52:01
如题。
...全文
229
14
打赏
收藏
在删除记录时提示:Table is read only.如何解决?
如题。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
14 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
梅青松
2004-11-03
打赏
举报
回复
加上Query1.RequestLive := true;
hbqinlei
2004-11-03
打赏
举报
回复
已经搞定
刚开始没Query1.ExecSQL;
后来加了就可以了,然后删除Query1.Open;
谢谢各位!
结贴~~
pinyu
2004-11-03
打赏
举报
回复
ExeSQL后还打开干啥?你这里好像不能打开什么东西了吧?
hbqinlei
2004-11-03
打赏
举报
回复
不是dbExpress组件
hbqinlei
2004-11-03
打赏
举报
回复
if Query1.Active then
Query1.Close;
Query1.SQL.Clear;
Query1.SQL.Text := 'Delete from OilDepot_Info where
OilDepot_NO='+''''+QueryForm.FindQuery.FieldByName('OilDepot_NO').Value+'''';
Query1.ExecSQL;
Query1.Open;
pinyu
2004-11-03
打赏
举报
回复
莫非是你用的dbExpress组件?
hbqinlei
2004-11-03
打赏
举报
回复
表名也没大写。。。。
mingsunday
2004-11-03
打赏
举报
回复
代码
nihongjiang
2004-11-03
打赏
举报
回复
表名大写?
hbqinlei
2004-11-03
打赏
举报
回复
没有呀,直接选中当前记录删除。
pdbird
2004-11-03
打赏
举报
回复
有没有做别的操作?
你是怎么样操作的?
各种情况不同
hbqinlei
2004-11-03
打赏
举报
回复
这个已经设置了呀,就不知道是咋回事~!
请各位帮下忙,谢谢!
nick1533
2004-11-03
打赏
举报
回复
设置表的ReadOnly属性为False
hbqinlei
2004-11-03
打赏
举报
回复
没人??
我顶~~~
Phoenx create view
Table
is
read
only.
Error: ERROR 505 (42000):
Table
is
read
only. (state=42000,code=505) org.apache.phoenix.schema.
Read
Only
Table
Exception: ERROR 505 (42000):
Table
is
read
only. at org.apache.phoenix.query.ConnectionQuer...
创建hbase表带视图映射hbase表报错:Error: ERROR 505 (42000):
Table
is
read
only. (state=42000,code=505)
Error: ERROR 505 (42000):
Table
is
read
only. (state=42000,code=505) org.apache.phoenix.schema.
Read
Only
Table
Exception: ERROR 505 (42000):
Table
is
read
only. at org.apache.phoenix.query.ConnectionQueryServicesImpl.generate
Table
Descriptor(ConnectionQuerySer
java.sql.SQLException: Connection is
read
-only. Queries leading to data modification are not allowed
Cause: java.sql.SQLException: Connection is
read
-only. Queries leading to data modification are not allowed 在操作数据库的
时
候出现了这个异常 很明显这个是只读引起的 原因:配置了只读事务
解决
办法: 看下你的service层是否配置@Transactional(
read
On
phoenix创建视图失败
执行sql:create view “t_url” (pk varchar primary key, url.id varchar, url.url_id varchar,url.url_name varchar) as select * from “t_url”; 报错: Error: ERROR 505 (42000):
Table
is
read
only. (state=42000,co...
【异常】java.sql.SQLException:Connection is
read
-only.Queriesleadingto data modification are not allowed
在用项目开发的
时
候,调用接口报了以下错误: TransientDataAccessResourceException : ### Error updating database. Cause: java.sql.SQLException: Connection is
read
-only. Queries leading to data modification are not allow...
数据库相关
2,498
社区成员
88,445
社区内容
发帖
与我相关
我的任务
数据库相关
Delphi 数据库相关
复制链接
扫一扫
分享
社区描述
Delphi 数据库相关
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章