powerdesigner 生成的表结构没有注释

1、修改配置
配置参数 Database --> Edit Current DBMS。
找到 MySql5.0 --> Script --> Objects --> Column --> Add。
将最后的@OBJTLABL 改为 COMMENT 就行了


2、勾选生成注释
Database --> Generate Database。
在 Format 页中,勾选 Generate name in empty comment单击确定就可以生成相应的代码,
代码中就会出现上面的注释了

posted @ 2021-08-31 11:26  <渔人>  阅读(615)  评论(0编辑  收藏  举报