我使用的是 PowerDesigner 12
在添加外健的时候有问题,,
我是给表自身添加外健,一个无限分类表
表:Class 列:Id, ParentId, Name
我要给 ParentId 做为 Id 的外健,
但是在生成数据库的时候有如下错误:
-----------------------------------------------------
Generation aborted due to errors detected during the verification of the model.
------------------------------------------------------------
在 Result List 中 Check 项 如下:
Reflexive and mandatory reference
一个表中的主键(parent)指向这个表中的另一个字段(child),child必须去掉not null(mandatory)才能通过。