PowerDesigner链接数据库,逆向生成PDM,生成word

一 连接数据库

1、新建模型
PowerDesigner链接数据库,逆向生成PDM,生成word

 

PowerDesigner链接数据库,逆向生成PDM,生成word

 

PowerDesigner链接数据库,逆向生成PDM,生成word


 2、Database-->connect-->Connect profile-->Configure...

PowerDesigner链接数据库,逆向生成PDM,生成word
 

3、add Data Source

PowerDesigner链接数据库,逆向生成PDM,生成word
 

4、输入自己的数据库连接,点击 Test Connect... 连接成功即可
PowerDesigner链接数据库,逆向生成PDM,生成word

 

若发生错误,请确认系统JDK版本:powerdesigner基于32位的jvm内核。

JAVA_HOME修改jdk 32位及 powerdesigner重新设置后重启,恢复正常。
PowerDesigner链接数据库,逆向生成PDM,生成word
 
二 生成PDM
1、Database-->Update Model From Database...,选择刚刚保存的数据库连接
PowerDesigner链接数据库,逆向生成PDM,生成word
 

2、选择要导出的数据库或表,点击OK即可
PowerDesigner链接数据库,逆向生成PDM,生成word
 

三 导出word

1、Report-->Report Templates,创建导出模板
PowerDesigner链接数据库,逆向生成PDM,生成word

 

PowerDesigner链接数据库,逆向生成PDM,生成word
 

2、编辑导出模板
PowerDesigner链接数据库,逆向生成PDM,生成word

 

选择导出到word的表格中的字段以及样式,并保存
PowerDesigner链接数据库,逆向生成PDM,生成word
 
 3、Report-->Generatr Report,选择刚刚保存的导出模板,点击OK即可
PowerDesigner链接数据库,逆向生成PDM,生成word