PowerDesigner建立物理表的问题
SybasePowerDesignerV15.2.0.3042版本建立不了物理表,下面是程序提示,哪位好心人能告诉我答案Checkingpackage...-Circul...
Sybase PowerDesigner V15.2.0.3042版本
建立不了物理表,下面是程序提示,哪位好心人能告诉我答案
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
- Detect differences between data item and associated domain
- Detect inconsistencies between check parameters
- Precision > Maximum Length
- Undefined data type
- Invalid data 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 'category.id' (<Model>::category)
-> Entity Attribute 'comment.id' (<Model>::comment)
-> Entity Attribute 'comment.username' (<Model>::comment)
-> Entity Attribute 'comment.content' (<Model>::comment)
-> Entity Attribute 'data.id' (<Model>::data)
-> Entity Attribute 'data.content' (<Model>::data)
-> Entity Attribute 'users.id' (<Model>::users)
-> Entity Attribute 'users.username' (<Model>::users)
- Entity Attribute code uniqueness
Error The following entity attribute does not have unique code:
-> Entity Attribute 'category.id' (<Model>::category)
-> Entity Attribute 'comment.id' (<Model>::comment)
-> Entity Attribute 'comment.username' (<Model>::comment)
-> Entity Attribute 'comment.content' (<Model>::comment)
-> Entity Attribute 'data.id' (<Model>::data)
-> Entity Attribute 'data.content' (<Model>::data)
-> Entity Attribute 'users.id' (<Model>::users)
-> Entity Attribute 'users.username' (<Model>::users)
Checking identifier of entity
- Identifier name uniqueness
- Identifier code uniqueness
- Existence of entity attribute
- 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
16 error(s), 0 warning(s).
The Conceptual Data Model is incorrect, there are 16 error(s).
开始的错误提示是
the generation has been cancelled because errors have been found by the check model 展开
建立不了物理表,下面是程序提示,哪位好心人能告诉我答案
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
- Detect differences between data item and associated domain
- Detect inconsistencies between check parameters
- Precision > Maximum Length
- Undefined data type
- Invalid data 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 'category.id' (<Model>::category)
-> Entity Attribute 'comment.id' (<Model>::comment)
-> Entity Attribute 'comment.username' (<Model>::comment)
-> Entity Attribute 'comment.content' (<Model>::comment)
-> Entity Attribute 'data.id' (<Model>::data)
-> Entity Attribute 'data.content' (<Model>::data)
-> Entity Attribute 'users.id' (<Model>::users)
-> Entity Attribute 'users.username' (<Model>::users)
- Entity Attribute code uniqueness
Error The following entity attribute does not have unique code:
-> Entity Attribute 'category.id' (<Model>::category)
-> Entity Attribute 'comment.id' (<Model>::comment)
-> Entity Attribute 'comment.username' (<Model>::comment)
-> Entity Attribute 'comment.content' (<Model>::comment)
-> Entity Attribute 'data.id' (<Model>::data)
-> Entity Attribute 'data.content' (<Model>::data)
-> Entity Attribute 'users.id' (<Model>::users)
-> Entity Attribute 'users.username' (<Model>::users)
Checking identifier of entity
- Identifier name uniqueness
- Identifier code uniqueness
- Existence of entity attribute
- 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
16 error(s), 0 warning(s).
The Conceptual Data Model is incorrect, there are 16 error(s).
开始的错误提示是
the generation has been cancelled because errors have been found by the check model 展开
2个回答
展开全部
package的错误没有遇到过,大部分是因为数据的唯一性问题
dataitem的话你在tools->model option->model settings的dataitem组里把unique code 去勾选。
dataitem的话你在tools->model option->model settings的dataitem组里把unique code 去勾选。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询