刷机后显示on delete no actionn 怎么办

3023人阅读
用svn检出spring(trunk)源码项目后,点击Build path出现No action available的提示(空),在网上搜到一篇文章,解决了问题!
在项目里面找到.project ,写入
&&nature&org.eclipse.jdt.core.javanature&/nature&
&/natures&(我写的时候加入&nature&org.eclipse.jdt.core.javanature&/nature&就可以了)
这样就行了,简单的记录一下里面各种属性:
1.工程名:&name&&/name&
2.工程注释描述:&comment&&/comment&
3.Eclipse插件:&natures&&/natures&
4.加载方式:&buildSpec&&/buildSpec&
而org.eclipse.jdt.core.javanature 是Java Development & &Toolkit &的插件,很多JAVA API 等信息,都需要这个进行关联。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:59358次
积分:1413
积分:1413
排名:千里之外
原创:79篇
转载:35篇
(1)(2)(1)(1)(11)(34)(34)(3)(2)(5)(13)(3)(4)一键安装桌面版,查词翻译快三倍
选择要添加的生词本
词霸Android版
牛津词典免费使用! 立刻扫码下载
牛津词典免费使用! 立刻扫码下载
创建新的生词本
i该生词本已经创建啦!
i不可以出现中文,英文,数字之外的符号哒!
i生词本名称长度不能大于24字符!
i请填写生词本名称!查看: 8612|回复: 15
oracle中的on delete no action怎么用?
论坛徽章:0
我使用的版本是10g的第一版,执行以下代码,报错了,不知道是不是语法写的不对,向好心人请教。
& &create table test(
& &id integer default 1 not null,
& &name varchar2(50)
& &Table created.
&&create table test2(
&&id integer not null,
&&p_id integer not null references test(id) on delete no action
& &p_id integer not null references test(id) on delete no action
& && && && && && && && && && && && && && && && && & *
& &ERROR at line 3:
& &ORA-00905: missing keyword
如果想要主表中删除时,从表不变化,应该怎样写外键约束? 谢谢
认证徽章论坛徽章:131
on delete&&setnull
论坛徽章:64
• ON DELETE CASCADE indicates that when the row in the parent table is deleted, the dependent
rows in the child table will also be deleted.
• ON DELETE SET NULL converts foreign key values to null when the parent value is removed.
The default behavior is called the restrict rule, which disallows the update or deletion of referenced data.
Without the ON DELETE CASCADE or the ON DELETE SET NULL options, the row in the parent table cannot be deleted if it is referenced in the child table.
用约束控制从表不变化好像不行吧,等高人支招
论坛徽章:0
可是项目要求,从表的参考字段不能为空,所以使用 on delete set&&null 行不通啊
还有没有别的好办法啊!
论坛徽章:64
主表信息不存在了,要子表信息干什么,奇怪,可能是特殊需求吧,
建触发器,把从表信息写到别的表里保存,然后删除
认证徽章论坛徽章:50
我怎么不知道有这样的用法啊,是10G中特有的写法吗
认证徽章论坛徽章:131
最初由 machines 发布
[B]可是项目要求,从表的参考字段不能为空,所以使用 on delete set&&null 行不通啊
还有没有别的好办法啊! [/B]
那就不能使用外健约束了
认证徽章论坛徽章:50
我怎么不知道有这样的用法啊,是10G中特有的写法吗
谁能回答我一下,谢谢!
论坛徽章:107
10G 以前就有了.&&on delete set null
& && && && && && && && && && & on delete cascade
如果在建外键的时候,不加任何&&默认就是 on delete no action
论坛徽章:304
最初由 skelly_huang 发布
[B]10G 以前就有了.&&on delete set null
& && && && && && && && && && & on delete cascade
如果在建外键的时候,不加任何&&默认就是 on delete no action [/B]
我没见on delete no action 的情况,不知当这种情况发生后,
外键约束是validate 的还是 novalidate ?
itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有    
 北京市公安局海淀分局网监中心备案编号: 广播电视节目制作经营许可证:编号(京)字第1149号An SEC letter indicating that no civil or
will be taken
an individual engag sent in response to a written request for clarification when the legality of the activity in question is not well-established.
You should try to make sure that you fully understand why you received the no-action letter and what you did wrong.
Was this Helpful?
9 people found this helpful.
The Board of Directors will authorize the purchase once we receive a No-Action Letter from the SEC for each member of the board.
Was this Helpful?
4 people found this helpful.
Even though my boss was concerned that the proposed stock swap was not legal, he was relieved to learn we would receive a no-action letter from the SEC and the deal could proceed.
Was this Helpful?
2 people found this helpful.
Browse Definitions by Letter:Automobilista
Topic Details
Action no funciona en el juego?
Cuales programas para trasmitir funciona con el juego.
Showing - of
Showing - of
Topic Details
Date Posted: 23 Jul @ 6:49pmPosts: 0
More discussions
Report this post
Note: This is ONLY to be used to report spam, advertising, and problematic (harassment, fighting, or rude) posts.
View mobile website

我要回帖

更多关于 restrict no action 的文章

 

随机推荐