PowerDesigner中constraint name uniqueness解决办法

本文介绍了在PowerDesigner中遇到constraintnameuniqueness错误时的两种解决方法:一是通过自动修正功能来修复;二是手动修改物理模型中外键约束的名称。

PowerDesigner中constraint name uniqueness解决办法

解决方式一

右键点击错误提示信息:Automatic Correction

    重新运行生成即可

解决方式二

    修改powerdesigner物理模型中表的<外键>约束名称


Checking package ... - Circular dependency - Circularity with mandatory links - Shortcut potentially generated as child table of a reference Checking data item ... - Data Item name uniqueness - Data Item code uniqueness - Data Item not used - Data Item used multiple times Warning The following data items are used more than once: -> Data Item '日期' (<Model>) - Detect differences between data item and associated domain - Detect inconsistencies between check parameters - Precision > Maximum Length - Undefined data type - Invalid data type - Incompatible format type Checking entity ... - Entity name uniqueness - Entity code uniqueness - Entity name maximum length - Entity code maximum length - Existence of attributes - Number of serial types > 1 - Existence of identifiers - Existence of relationship or association link - Redundant inheritance - Multiple inheritance - Parent of several inheritances - Redefined primary identifier Checking entity attribute ... - Entity Attribute name uniqueness Error The following entity attribute does not have unique name: -> Entity Attribute '机动车.日期' (<Model>::机动车) -> Entity Attribute '通知书.日期' (<Model>::通知书) - Entity Attribute code uniqueness Error The following entity attribute does not have unique code: -> Entity Attribute '机动车.日期' (<Model>::机动车) -> Entity Attribute '通知书.日期' (<Model>::通知书) Checking identifier of entity - Identifier name uniqueness - Identifier code uniqueness - Existence of entity attribute Error The following identifier has no entity attribute: -> Identifier '司机.Identifier_1' (<Model>::司机) - Identifier inclusion - Primary identifier in child entity Checking relationship ... - Relationship name uniqueness - Relationship code uniqueness - Reflexive dependency - Reflexive mandatory - Bijective relationship between two entities - Name uniqueness constraint between many-to-many relationships and entities - Identifier link from child entity 5 error(s), 1 warning(s). The Conceptual Data Model is incorrect, there are 5 error(s). 这个怎么改
最新发布
05-14
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值